help命令

在需要任何命令的帮助信息的时候,都是使用--help或者-h来查看。如下:

mifx -h

输出如下:

Find more information at: https://open.cloud.mi.com

Usage:
  mifx [flags]
  mifx [command]

Available Commands:
  config      config cli context
  func        function manipulation command
  help        Help about any command
  invoke      invoke function
  log         log manipulation command
  runtime     runtime mainipulation command
  space       space manipulation
  trigger     trigger manipulation command
  version     command line version

Flags:
  -c, --config string   config file 
  -h, --help            help for mifx

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

可以继续使用-h命令获取其他命令的帮助信息,如下:

mifx space -h
mifx space create -h

results matching ""

    No results matching ""