21 lines
302 B
Go
Raw Normal View History

2024-05-24 19:41:44 +02:00
package welcome
import (
"fmt"
"github.com/urfave/cli/v2"
)
2024-05-24 19:41:44 +02:00
func Command() *cli.Command {
return &cli.Command{
Name: "welcome",
Usage: "Explains cli tool",
2024-05-24 19:41:44 +02:00
Action: action,
}
}
2024-05-24 19:41:44 +02:00
func action(*cli.Context) error {
fmt.Println("Welcome, \n you can use -h, --help for help.")
return nil
}