darius 00748f4a88 config read + types added
Config added
config get from server
2024-05-24 20:32:42 +02:00

23 lines
341 B
Go

package boom
import (
"fmt"
"github.com/DariusKlein/kleinCommand/types"
"github.com/urfave/cli/v2"
)
func Command(config types.Config) *cli.Command {
return &cli.Command{
Name: "boom",
Usage: "explode",
Aliases: []string{"b"},
Action: action,
}
}
func action(c *cli.Context) error {
fmt.Println("BOOM")
return nil
}