@abtnode/cli 中文文档教程
Blocklet Server CLI
这个包包含 2 个命令实用程序来管理 Blocklet 服务器和 Blocklet
abtnode
: manage Blocklet Server instances, such as init/start/stop/export, designed for DevOpsblocklet
: manage blocklets, such as init/dev/bundle/deploy/publish, designed for developers
Getting Started
# install
npm install -g @abtnode/cli
# initialize and start a new node
abtnode init -f
abtnode start
现在你的 Blocklet 服务器已经启动并运行了。
abtnode
command
Usage: abtnode [options] [command]
Options:
-V, --version output the version number
-c --config [node-config] Blocklet Server configuration file
-y --yes Automatic yes to prompts (default: false)
(default: false)
-h, --help display help for command
Commands:
start [options] Start Blocklet Server Daemon
init [options] Init Blocklet Server config
status Show Blocklet Server and blocklet status
logs Show Blocklet Server and blocklet logs
stop [options] Stop Blocklet Server and blocklets
info [options] Get environment information for debugging and
issue reporting
upgrade Self-Upgrade ABTNode
export [options] Eject a Blocklet Server config that can be
shared with others
help [command] display help for command
None of the above command seems help? Consider command line utility blocklet.
blocklet
command
Usage: blocklet [options] [command]
Options:
-V, --version output the version number
-y --yes Automatic yes to prompts (default: false)
(default: false)
-h, --help display help for command
Commands:
bundle [options] Bundle a blocklet that can run in Blocklet
Server
deploy [options] <folder> Deploy blocklet from local directory to
Blocklet Server
dev [options] [action] Develop blocklet from current directory
init [options] Create an empty blocklet project
meta Print blocklet meta from a directory
version [options] [newVersion] Bump blocklet version and persist to disk
migrate [options] Migrate blocklet meta to latest version for
a blocklet
publish [options] [metafile] Publish the blocklet release to registry
upload [options] [metafile] Upload the blocklet to registry
config Manage the Blocklet Server configuration
files, use blocklet config help to see detail
help [command] display help for command
None of the above command seems help? Consider command line utility abtnode.
Documentation
https://docs.arcblock.io/en/abtnode/
Blocklet Server CLI
This package contains 2 command utilities to manage Blocklet Server and Blocklets
abtnode
: manage Blocklet Server instances, such as init/start/stop/export, designed for DevOpsblocklet
: manage blocklets, such as init/dev/bundle/deploy/publish, designed for developers
Getting Started
# install
npm install -g @abtnode/cli
# initialize and start a new node
abtnode init -f
abtnode start
Now your Blocklet Server is up and running.
abtnode
command
Usage: abtnode [options] [command]
Options:
-V, --version output the version number
-c --config [node-config] Blocklet Server configuration file
-y --yes Automatic yes to prompts (default: false)
(default: false)
-h, --help display help for command
Commands:
start [options] Start Blocklet Server Daemon
init [options] Init Blocklet Server config
status Show Blocklet Server and blocklet status
logs Show Blocklet Server and blocklet logs
stop [options] Stop Blocklet Server and blocklets
info [options] Get environment information for debugging and
issue reporting
upgrade Self-Upgrade ABTNode
export [options] Eject a Blocklet Server config that can be
shared with others
help [command] display help for command
None of the above command seems help? Consider command line utility blocklet.
blocklet
command
Usage: blocklet [options] [command]
Options:
-V, --version output the version number
-y --yes Automatic yes to prompts (default: false)
(default: false)
-h, --help display help for command
Commands:
bundle [options] Bundle a blocklet that can run in Blocklet
Server
deploy [options] <folder> Deploy blocklet from local directory to
Blocklet Server
dev [options] [action] Develop blocklet from current directory
init [options] Create an empty blocklet project
meta Print blocklet meta from a directory
version [options] [newVersion] Bump blocklet version and persist to disk
migrate [options] Migrate blocklet meta to latest version for
a blocklet
publish [options] [metafile] Publish the blocklet release to registry
upload [options] [metafile] Upload the blocklet to registry
config Manage the Blocklet Server configuration
files, use blocklet config help to see detail
help [command] display help for command
None of the above command seems help? Consider command line utility abtnode.
Documentation
https://docs.arcblock.io/en/abtnode/
更多
你可能也喜欢
- @18xx-maker/schemas 中文文档教程
- @2cm/cli 中文文档教程
- @2iq/aws-sdk-nock-responses 中文文档教程
- @7-eleven/component-kits 中文文档教程
- @8base/app-provider 中文文档教程
- @90poe/jest-performant-warnings-stats-reporter 中文文档教程
- @a8k/plugin-typescript-template 中文文档教程
- @aas395/numjs 中文文档教程
- @abcum/ember-domain 中文文档教程
- @abi-software/scaffoldvuer 中文文档教程