feat(commands): refactor and add more commands
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package fs
|
||||
|
||||
import (
|
||||
"github.com/versenilvis/iris/commands/core"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.Register(&core.Spec{
|
||||
Name: "mkdir",
|
||||
Description: "make directories",
|
||||
Options: []core.Option{
|
||||
{Name: "-p", Description: "create parent dirs"},
|
||||
{Name: "-v", Description: "verbose"},
|
||||
},
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user