Skip to content
/ go Public

Persional go snippets and command line tools for reuse.

Notifications You must be signed in to change notification settings

lwabish/go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go

Packages

Command line

Install

go install github.com/lwabish/go@latest

Usage

doc

Dev

Extend

# 增加command
cobra-cli add image

# 增加sub command
cobra-cli add meta -p 'imageCmd'

# 为command增加flag
# 参考各个command的init函数

Init

go install github.com/spf13/cobra-cli@latest

go mod init github.com/lwabish/go

cobra-cli init

About

Persional go snippets and command line tools for reuse.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published