mirror of
https://github.com/pushbits/cli.git
synced 2025-07-23 19:50:35 +02:00
23 lines
434 B
Go
23 lines
434 B
Go
package application
|
|
|
|
import (
|
|
"log"
|
|
|
|
"github.com/pushbits/cli/cmd/settings"
|
|
)
|
|
|
|
type createCommand struct {
|
|
Arguments struct {
|
|
Name string `positional-arg-name:"name" description:"The name of the application"`
|
|
} `required:"true" positional-args:"true"`
|
|
}
|
|
|
|
func (c *createCommand) Execute(args []string) error {
|
|
settings.Runner = c
|
|
return nil
|
|
}
|
|
|
|
func (c *createCommand) Run(s settings.Settings) {
|
|
log.Printf("createCommand")
|
|
}
|