21 lines
243 B
Go
21 lines
243 B
Go
|
|
package commands
|
||
|
|
|
||
|
|
import (
|
||
|
|
"fmt"
|
||
|
|
"github.com/urfave/cli/v2"
|
||
|
|
)
|
||
|
|
|
||
|
|
func Boom() *cli.Command {
|
||
|
|
|
||
|
|
return &cli.Command{
|
||
|
|
Name: "boom",
|
||
|
|
Usage: "explode",
|
||
|
|
Action: boom,
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
func boom(*cli.Context) error {
|
||
|
|
fmt.Println("BOOM")
|
||
|
|
return nil
|
||
|
|
}
|