28 lines
644 B
Go
28 lines
644 B
Go
package cmd
|
|
|
|
import "github.com/spf13/cobra"
|
|
|
|
var runCmd = &cobra.Command{
|
|
Use: "run",
|
|
Example: `
|
|
NOTE: This command is not implemented yet!
|
|
|
|
# set up environment
|
|
export MAKESHIFT_HOST=http://localhost:5050
|
|
export MAKESHIFT_PATH=help.txt
|
|
export MAKESHIFT_ROOT=/opt/makeshift
|
|
|
|
# run locally similar to 'download'
|
|
makeshift run --plugins jinja2 --profiles default
|
|
makeshift run --root $HOME/apps/makeshift -p help.txt --plugins jinja2 --profiles default
|
|
`,
|
|
Args: cobra.NoArgs,
|
|
Short: "Run locally with plugins and profiles",
|
|
Run: func(cmd *cobra.Command, args []string) {
|
|
|
|
},
|
|
}
|
|
|
|
func init() {
|
|
rootCmd.AddCommand(runCmd)
|
|
}
|