Skip to content

A golang tool to help abstract a command line command set.

Notifications You must be signed in to change notification settings

kendellfab/commander

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

commander

A golang tool to help abstract a command line command set.

  1. Create new command instance.

command := commander.NewCommander("Application Name")

  1. Parse flags

flag.Parse()

  1. Register commands

command.RegisterCommand("title", "invoke", "description", func (args []string){})

  1. Execute commands

command.ExecuteCommand(flag.Args())

About

A golang tool to help abstract a command line command set.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages