Skip to content

Implement showstart client based on Go and cobra(基于 Go 和 cobra 实现的秀动命令行应用)

License

Notifications You must be signed in to change notification settings

ronething/xiudong-go

Repository files navigation

Table of Contents generated with DocToc

xiudong-go

Web 版秀动请求样例学习

github repo: https://github.com/ronething/xiudong-go

usage

  • 下载对应 releases 即可

  • 如果你需要手动编译 可以考虑执行以下命令

git clone https://github.com/ronething/xiudong-go.git && cd xiudong-go/cli
make build

具体使用可参考 ./cli./docs

notice: 此程序更多是学习用途,可以简单分析下自己写 order 命令,祝大家好运~

$ ./showstart         
showstart cli sample

Usage:
  showstart [command]

Available Commands:
  address     查询个人地址
  help        Help about any command
  idCard      查询已绑定观演人 id
  tickets     列出指定场次 ticketId 列表
  version     check version

Flags:
      --config string   config file (default is $HOME/.showstart.yaml)
  -h, --help            help for showstart

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

免责声明

acknowledgement

  • wap.showstart.com