2018-04-24 15:19:40 +01:00
|
|
|
# jsonnet-bundler
|
|
|
|
|
|
|
|
|
|
> NOTE: This project is *alpha* stage. Flags, configuration, behavior and design may change significantly in following releases.
|
|
|
|
|
|
|
|
|
|
The jsonnet-bundler is a package manager for [jsonnet](http://jsonnet.org/).
|
|
|
|
|
|
|
|
|
|
## Install
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
go get github.com/jsonnet-bundler/jsonnet-bundler/cmd/jb
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
|
|
All command line flags:
|
|
|
|
|
|
|
|
|
|
[embedmd]:# (_output/help.txt)
|
|
|
|
|
```txt
|
|
|
|
|
$ jb -h
|
2018-05-13 06:55:13 -07:00
|
|
|
usage: jb [<flags>] <command> [<args> ...]
|
|
|
|
|
|
|
|
|
|
A jsonnet package manager
|
|
|
|
|
|
|
|
|
|
Flags:
|
|
|
|
|
-h, --help Show context-sensitive help (also try --help-long and --help-man).
|
|
|
|
|
--jsonnetpkg-home="vendor"
|
|
|
|
|
The directory used to cache packages in.
|
|
|
|
|
|
|
|
|
|
Commands:
|
|
|
|
|
help [<command>...]
|
|
|
|
|
Show help.
|
|
|
|
|
|
|
|
|
|
init
|
|
|
|
|
Initialize a new empty jsonnetfile
|
|
|
|
|
|
|
|
|
|
install [<packages>...]
|
|
|
|
|
Install all dependencies or install specific ones
|
|
|
|
|
|
2018-06-29 14:29:48 +02:00
|
|
|
update
|
|
|
|
|
Update all dependencies.
|
|
|
|
|
|
2018-05-13 06:55:13 -07:00
|
|
|
|
2018-04-24 15:19:40 +01:00
|
|
|
```
|