命令行工具

RobotChain内置了一个简单的命令行工具。

robotchain
# 显示信息如下:
RobotChain Version 1.0.0
Development Team: GEEKROS https://www.geekros.com

Usage:
  robotchain [command]

Available Commands:
  chat        Sending session message to the specified platform
  help        Help about any command
  login       Login to the GEEKROS account
  package     Managing Ubuntu software packages
  service     Start core service
  stream      Sending session message to the specified platform
  version     Get version number

Flags:
  -h, --help   help for robotchain

Use "robotchain [command] --help" for more information about a command.

基本使用

查询当前RobotChain版本

robotchain version
2023/09/01 15:13:03 [version]: RobotChain 1.0.0

查询命令行工具子命令的使用方法

# 例如获取命令行工具package子命令的使用方法
robotchain package --help
Managing Ubuntu software packages

Usage:
  robotchain package [flags]

Examples:
robotchain package [publish]

Flags:
  -h, --help   help for package