@@ -6,11 +6,11 @@ import (
66 "os"
77 "strings"
88
9- "github.com/appuio/guided-setup /pkg/executor"
10- "github.com/appuio/guided-setup /pkg/state"
11- "github.com/appuio/guided-setup /pkg/steps"
12- "github.com/appuio/guided-setup /pkg/workflow"
13- "github.com/appuio/guided-setup /ui"
9+ "github.com/appuio/gandalf /pkg/executor"
10+ "github.com/appuio/gandalf /pkg/state"
11+ "github.com/appuio/gandalf /pkg/steps"
12+ "github.com/appuio/gandalf /pkg/workflow"
13+ "github.com/appuio/gandalf /ui"
1414 "github.com/spf13/cobra"
1515 "sigs.k8s.io/yaml"
1616)
@@ -28,21 +28,21 @@ func NewRunCommand() *cobra.Command {
2828 ro := & runOptions {}
2929 c := & cobra.Command {
3030 Use : "run WORKFLOW steps..." ,
31- Example : "guided-setup run workflow.workflow path/to/steps/*.yml" ,
31+ Example : "gandalf run workflow.workflow path/to/steps/*.yml" ,
3232 Short : "Runs the specified workflow." ,
3333 Long : strings .Join ([]string {}, " " ),
3434 ValidArgs : []string {"path" , "paths..." },
3535 Args : cobra .MinimumNArgs (2 ),
3636 RunE : ro .Run ,
3737 }
38- c .Flags ().StringVar (& ro .ShellRCFile , "rcfile" , "~/.guided-setup /rc" , "Path to a shell rc file to source before executing any step scripts." )
38+ c .Flags ().StringVar (& ro .ShellRCFile , "rcfile" , "~/.gandalf /rc" , "Path to a shell rc file to source before executing any step scripts." )
3939 return c
4040}
4141
4242func (ro * runOptions ) Run (cmd * cobra.Command , args []string ) error {
4343 _ = cmd .Context ()
4444
45- stateManager , err := state .NewStateManager (".guided-setup -state.json" )
45+ stateManager , err := state .NewStateManager (".gandalf -state.json" )
4646 if err != nil {
4747 return fmt .Errorf ("failed to create state manager: %w" , err )
4848 }
0 commit comments