Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Building "Cloud Automator" CLI with golang

Building "Cloud Automator" CLI with golang

#cloudautomator
#tool
#ca
#golang

see also:

uchimanajet7/ca-cli: The "ca" is command line tool to invoke "Cloud Automator" API
https://github.com/uchimanajet7/ca-cli

Cloud Automator のAPI を呼び出すCLI をgolang で作ってみた #cloudautomator #golang #swx - uchimanajet7のメモ
http://uchimanajet7.hatenablog.com/entry/2017/08/09/121236

Building "Cloud Automator" CLI with golang - slideship.com
https://slideship.com/users/@uchimanajet7/presentations/2017/08/JFZidDVZrxAxccV6Z33db9/

uchimanajet7

August 09, 2017
Tweet

More Decks by uchimanajet7

Other Decks in Technology

Transcript

  1. Who am I Manabu Uchida(内田 学) Abaut me: @uchimanajet7 Software

    Developer: AWS, Golang, Python Having fun joining the community JAWS-UG SORACOM-UG Serverless Community(JP) © 2017 @uchimanajet7 2 / 11
  2. Why CLI? The request parameter of the Cloud Automator API

    is JSON and the number of parameters is large. It is troublesome to use it easily as it is. If you want to automate using the API, you have to do your best to call the API. With CLI or SDK it may be a bit easier. I tried building CLI that seems easy to realize.
  3. Pain point There is no mechanism to automatically generate CLI

    from API de nition le. So if new APIs are released, you have to work hard and add them manually. There are changes in API parameters depending on the state. So check the parameter on the CLI side is bothersome. The CLI can not be used unless you know the API parameters. © 2017 @uchimanajet7 8 / 11
  4. If possible Build SDK and build it the CLI that

    used it. Supports command line completion. Automatic generation from API de nition le. Filtering for API responses. Can use it without knowing the API details. I hope the tools such as SDK and CLI will be released from the o cial.
  5. Thank you! And please try it. uchimanajet7/ca-cli: The "ca" is

    command line tool to invoke "Cloud Automator" API https://github.com/uchimanajet7/ca-cli © 2017 @uchimanajet7 11 / 11