2
0
mirror of https://github.com/bpkg/bpkg synced 2024-11-16 00:12:52 +00:00
bpkg/lib/init
2022-03-23 11:16:59 -07:00
..
bpkg.json feat(): introduce 'bpkg-run' 2022-03-23 11:16:59 -07:00
init.sh refactor(): support 'commands' for 'bpkg run' and 'BPKG_SCRIPT_SOURCES' env var 2022-03-23 11:16:59 -07:00
LICENSE.md Changes various (text) files to *not* be executable 2018-02-02 11:16:54 -05:00
Makefile Changes various (text) files to *not* be executable 2018-02-02 11:16:54 -05:00
README.md Add support for bpkg.json, next to package.json. 2022-03-23 11:16:59 -07:00

bpkg-init

Interactively generate a bpkg.json for your bpkg. Code, format, and instructions based heavily on jwerle's clib-init.

install

With bpkg:

$ bpkg install benkogan/bpkg-init

From source:

$ git clone git@github.com:benkogan/bpkg-init.git /tmp/bpkg-init
$ cd /tmp/bpkg-init
$ make install

usage

Simply invoke bpkg init and you wil be prompted with a series of questions about the generation of your bpkg.json. Most options have sane defaults.

This will walk you through initializing the bpkg bpkg.json file. It will prompt you for the bare minimum that is needed and provide defaults.

See github.com/bpkg/bpkg for more information on defining the bpkg bpkg.json file.

You can press ^C anytime to quit this prompt. The bpkg.json file will only be written upon completion.

$ bpkg init

This will walk you through initializing the bpkg `bpkg.json` file.
It will prompt you for the bare minimum that is needed and provide
defaults.

See github.com/bpkg/bpkg for more information on defining the bpkg
`bpkg.json` file.

You can press ^C anytime to quit this prompt. The `bpkg.json` file
will only be written upon completion.

name: (bpkg-init)

...

license

MIT