Command descriptions

This commit is contained in:
AlexSSD7 2023-08-29 10:37:52 +01:00
commit 443dbf684c
6 changed files with 20 additions and 24 deletions

View file

@ -10,11 +10,9 @@ import (
)
var rootCmd = &cobra.Command{
Use: "imgbuilder",
// TODO: Fill this
// Short: "",
// Long: ``,
Args: cobra.ExactArgs(2),
Use: "imgbuilder",
Short: "Build an Alpine Linux image for Linsk. A base Alpine VM disc image is required.",
Args: cobra.ExactArgs(2),
Run: func(cmd *cobra.Command, args []string) {
baseISOPath := filepath.Clean(args[0])
outImagePath := filepath.Clean(args[1])