文档首页 > > Sandbox 调试工具使用指南> 快速入门> 获取帮助

获取帮助

分享
更新时间:2019/07/11 GMT+08:00

获取帮助,命令如下。

$ hss --help

或执行hss进入交互模式,示例命令如下。

$ hss

输入help命令获取相应帮助。

类似回显信息如下:

NAME:
   hss - Use this app to parse, validate and deploy Huawei SAM (HSAM) files

USAGE:
   hss [global options] command [command options] [arguments...]

VERSION:
   1.0.10

COMMANDS:
     validate   Validate your HSAM YAML template file
     invoke     Invoke FunctionGraph function from template file.
     localEvent Generate FunctionGraph events (e.g. OBS, DMS, SMN etc.) locally. The events can be piped to hss invoke command.
     cloudEvent Generate FunctionGraph events (e.g. OBS, DMS, SMN etc.) from Huawei Cloud. The events can be pipe to hss invoke command.
     apigw      Allows you to run your functions locally for quick development and testing. When run in a directory that contains your functions and HSAM template, it will start a local HTTP server hosting all of your functions
     deploy     Deploy the specified template by creating a template and stack in AOS and excutes CREATE lifecycle.
     create     new your funsion template file and template file.

GLOBAL OPTIONS:
   --help, -h           show help
   --version, -v        print the version

获取特定命令的帮助,命令如下。

$ hss <command> --help

或执行hss进入交互模式,命令如下:

$ hss

获取特定命令的帮助,命令如下:

command> --help

类似回显信息如下:

NAME:
   hss validate - Validate your HSAM YAML template file

USAGE:
   hss validate [command options] [arguments...]

OPTIONS:
   --templateFile value, -t value       HSAM template file (default: "template.[yaml|yml]") [$HSAM_TEMPLATE_FILE]
   --verbose, -v                        Optional: Provide verbose information
   --logFile value, -l value            Optional. Log file to redirect logs
分享:

    相关文档

    相关产品

文档是否有解决您的问题?

提交成功!非常感谢您的反馈,我们会继续努力做到更好!
反馈提交失败,请稍后再试!

*必选

请至少选择或填写一项反馈信息

字符长度不能超过200

提交反馈 取消

如您有其它疑问,您也可以通过华为云社区问答频道来与我们联系探讨

智能客服提问云社区提问