diff --git a/README.md b/README.md index 6fdd48d..926d6fc 100644 --- a/README.md +++ b/README.md @@ -17,21 +17,19 @@ Using either a GPM server or local config, I can instead `gpm get cli` which fin * `remove` - Remove a local package * `list` - List local packages * `config` - Change local configuration -* `export` - Export local packages to JSON -* `import` - Import JSON to local packages. Either give a path to a `.json` file, or a URL to a GPM server - * e.g. `https://gpm.jolheiser.com` * `get` - Get a list of packages - * e.g. `gpm get beaver survey toml homedir cli chi` to get all the modules needed for gpm itself (assuming the map resolves to the same packages) + * e.g. `gpm get beaver survey bbolt cli chi` to get all the modules needed for gpm itself (assuming the map resolves to the same packages) * `server` - Start a gpm server ### Server -If GPM doesn't find a package locally, it can call out to a configurable gpm server to find a package there instead. +gpm will call out to a gpm server to find a package. This makes it much simpler to have a central library of packages rather than exporting and importing between environments. Want to run your own server? It's very easy! This CLI comes packaged with the server inside, simply run `gpm server` to start up a GPM server. -Put it behind your favorite reverse proxy and it's ready to go! +Remember to set a `--token`! +Put it behind your favorite reverse proxy, and it's ready to go! ## License diff --git a/cmd/cmd.go b/cmd/cmd.go index 2d892ca..bb879f4 100644 --- a/cmd/cmd.go +++ b/cmd/cmd.go @@ -29,6 +29,7 @@ func New() *cli.App { &Remove, &Search, &Server, + &Update, } app.Flags = []cli.Flag{ &cli.StringFlag{