seed
Library packaging and distribution for Golang
status: WIP
Install
curl https://raw.githubusercontent.com/goseed/install/master/initial.sh | sh
Update
seed get -u seed
API
command | alias | parameters | description |
---|---|---|---|
search | s | - | Find remote Seed to an Index Server |
register | r | -f Seedfile | The distutils command register is used to submit your distributionโs meta-data to an Seed Index Server |
push | p | -force / -f Seedfile | The distutils command upload pushes the distribution files to Seed Index Server |
get | g | -u / -f Seedfile / -to [gopath , vendor ] |
Fetch from and integrate with remote repository to GOPATH or vendor (if exist folder vendor this path) |
install | i | -u / -f Seedfile (requires file) | Installs all packages from the Seedfile |
list | l | -f Seedfile | Shows your locally installed to GOPATH or vendor (if exist folder vendor this path) |
server | - | -f Seedfile | Shows your locally installed to GOPATH or vendor (if exist folder vendor this path) |
Config
File: ~/.seedrc
[seed]
path = $HOME/.seed
verbose = false
sources = [
"https://packages.goseed.io/",
]
[source]
[[packages.goseed.io]]
token = "my key"
# OR
# username = ""
# password = ""
Package
Seedfile
[package]
organization = "goseed"
name = "seed"
version = "0.1"
authors = ["Frist Last Name <[email protected]>"]
description = "Package Manager"
homepage = "https://goseed.io/"
documentation = "https://docs.goseed.io/"
repository = "https://github.com/goseed/seed"
readme = "README.md"
keywords = ["package", "manager"]
categories = ["command-line-utilities", "network-programming"]
license = "MIT"
exclude = [
"assets/*",
"packageX/**/*.go",
"vendor/*",
]
include = [
"**/*.go",
"Seedfile",
]
dependencies = [
"goseed.io/goseed/[email protected]",
"github.com/avelino/slugify@master",
]
[server]
protocol = "http"
port = 8080