Add cmd.Run function

This commit is contained in:
Asim Aslam 2020-07-19 18:43:33 +01:00
parent 16c591d741
commit 05f3e1a125

View File

@ -925,3 +925,8 @@ func Init(opts ...Option) error {
func NewCmd(opts ...Option) Cmd {
return newCmd(opts...)
}
// Run the default command
func Run() error {
return DefaultCmd.Run()
}