This utility requires yarn
and git
to be installed.
Configure the utility with a config.json
. See a example here
.
- Ensure commit signing is properly setup.
- Run
npm version minor
,npm version major
, etc. depending on what's applicable. - Push changes including the newly created tag.
- Create GitHub release using the commit above.
$ npm install -g @iota-community/iota-wiki-cli
$ iota-wiki-cli COMMAND
running command...
$ iota-wiki-cli (-v|--version|version)
@iota-community/iota-wiki-cli/1.7.1 linux-x64 node-v16.13.1
$ iota-wiki-cli --help [COMMAND]
USAGE
$ iota-wiki-cli COMMAND
...
iota-wiki-cli checkout
iota-wiki-cli clean
iota-wiki-cli help [COMMAND]
iota-wiki-cli setup
iota-wiki-cli start
checkout content repositories
USAGE
$ iota-wiki-cli checkout
OPTIONS
-h, --help show CLI help
-o, --[no-]overwrite Disable/Enable overwriting of static content
EXAMPLE
$ iota-wiki-cli checkout
completely removes local wiki
USAGE
$ iota-wiki-cli clean
OPTIONS
-h, --help show CLI help
display help for iota-wiki-cli
USAGE
$ iota-wiki-cli help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
setup local wiki
USAGE
$ iota-wiki-cli setup
OPTIONS
-h, --help show CLI help
-r, --ref=ref wiki revison to checkout
EXAMPLE
$ iota-wiki-cli setup --ref main
start local wiki
USAGE
$ iota-wiki-cli start
OPTIONS
-h, --help show CLI help
--dry-run Test build the wiki with the current edited content