Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 714 Bytes

README.md

File metadata and controls

40 lines (28 loc) · 714 Bytes

somen

SOMEN is a my BENRI(convenient) infra tool.

Usage

Somen is a infra tool

Usage:
  somen [command]

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  help        Help about any command
  myip        Print my global ip address
  version     Print th version number of somen

Flags:
  -h, --help   help for somen

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

How to develop

Setup

$ go mod init somen
$ go install github.com/spf13/cobra-cli@latest
$ go get -u github.com/spf13/cobra@latest
$ cobra-cli init --license MIT --viper=false

Add a sub command

$ cobra-cli add TYPE_SUB_COMMAND_NAME