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

22 lines
366 B
Go

package welcome
import (
"fmt"
"github.com/DariusKlein/kleinCommand/types"
"github.com/urfave/cli/v2"
)
func Command(config types.Config) *cli.Command {
return &cli.Command{
Name: "welcome",
Usage: "Explains cli tool",
Action: action,
}
}
func action(*cli.Context) error {
fmt.Println("Welcome, \n you can use -h, --help for help.")
return nil
}