Blocklet Server CLI
ArcBlock
2023-11-10 02:05
· edited
Blocklet Server CLI 提供 Blocklet Server 命令行工具,用于在本地计算机中控制和管理 Blocklet Server。 使用以下语法从终端运行 Blocklet Server 命令:
blocklet server [options] [command]
You can use the -h
or --help
to determine the full list of supported commands.
Version#
$ blocklet -V
x.x.x
Init#
Init a Blocklet Server
$ blocklet server init
blocklet server vx.x.x
? Are you sure to initialize a Blocklet Server instance in the current directory(/path/to/xxx) (y/N)
✔ Blocklet Server configuration is successfully generated /path/to/xxx/.blocklet-server/config.yml
ℹ blocklet server start
Start#
Start a Blocklet Server
$ cd <your blocklet server folder>
$ blocklet server start
Stop#
Stop Blocklet Server and blocklets
$ cd <your blocklet server folder>
$ blocklet server stop
Status#
Show Blocklet Server and blocklet status
$ cd <your blocklet server folder>
$ blocklet server status
Logs#
Show Blocklet Server and blocklet log files
$ cd <your blocklet server folder>
$ blocklet server logs
Info#
Get environment information for debugging and issue reporting
$ cd <your blocklet server folder>
$ blocklet server info
Copy info to clipboard
$ cd <your blocklet server folder>
$ blocklet server info --clipboard
Upgrade#
Self-Upgrade Blocklet Server
$ blocklet server upgrade
Sticker