Lock in $30 Savings on PRO—Offer Ends Soon! ⏳

spf13/cobraでもできる簡単CLIツール / Fukuoka.go #11

spf13/cobraでもできる簡単CLIツール / Fukuoka.go #11

Fukuoka.go #11 LT

Ken’ichiro Oyama

June 14, 2018
Tweet

More Decks by Ken’ichiro Oyama

Other Decks in Technology

Transcript

  1. .Z$-*UPPMT w BXTQFD w LPNB w PDUPQVCMJTI w PDUPQBDLBHF w

    DFSUNBO w TDPOC w UNQGL w SFDJQF w CVO w LVNPNF w CBDLMPHDQ w EFWMPDBM  
  2. .Z$-*UPPMT w BXTQFD w LPNB w PDUPQVCMJTI w PDUPQBDLBHF w

    DFSUNBO w TDPOC w UNQGL w SFDJQF w CVO w LVNPNF w CBDLMPHDQ w EFWMPDBM   PQUQBSTF $BLF4IFMM /PEF #BTI
  3.   Cobra is both a library for creating powerful

    modern CLI applications as well as a program to generate applications and command files.
  4.   /> go get github.com/spf13/cobra/cobra /> cobra init github.com/k1LoW/fukgo

    /> cd $GOPATH/src/github.com/k1LoW/fukgo fukgo/> cobra add hello fukgo/> go build fukgo/> ./cobra 1 2 3 4 5 6