feat: added run example and args

This commit is contained in:
David Allen 2025-08-29 19:39:40 -06:00
parent a4d1de9a51
commit e458783061
Signed by: towk
GPG key ID: 0430CDBE22619155

View file

@ -3,8 +3,19 @@ package cmd
import "github.com/spf13/cobra"
var runCmd = &cobra.Command{
Use: "run",
Short: "Run 'makeshift' locally with plugins",
Use: "run",
Example: `
# set up environment
export MAKESHIFT_HOST=http://localhost:5050
export MAKESHIFT_PATH=help.txt
export MAKESHIFT_ROOT=./test
# run locally similar to 'download'
makeshift run --plugins jinja2 --profiles default
makeshift run --root ./test -p help.txt --plugins jinja2 --profiles default
`,
Args: cobra.NoArgs,
Short: "Run locally with plugins and profiles",
Run: func(cmd *cobra.Command, args []string) {
},