refactor: updated cmd and pkg implementations
This commit is contained in:
parent
d88ab2c01f
commit
fbed466c3d
10 changed files with 287 additions and 196 deletions
|
|
@ -5,14 +5,16 @@ 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=./test
|
||||
export MAKESHIFT_ROOT=/opt/makeshift
|
||||
|
||||
# run locally similar to 'download'
|
||||
makeshift run --plugins jinja2 --profiles default
|
||||
makeshift run --root ./test -p help.txt --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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue