Skip to content

Commit

Permalink
fix: replace CUBE to AQUA
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Aug 25, 2021
1 parent ba312f8 commit 42902cb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions pkg/cli/runner.go
Expand Up @@ -28,13 +28,13 @@ func (runner *Runner) Run(ctx context.Context, args ...string) error {
&cli.StringFlag{
Name: "log-level",
Usage: "log level",
EnvVars: []string{"CUBE_LOG_LEVEL"},
EnvVars: []string{"AQUA_LOG_LEVEL"},
},
&cli.StringFlag{
Name: "config",
Aliases: []string{"c"},
Usage: "configuration file path",
EnvVars: []string{"CUBE_CONFIG"},
EnvVars: []string{"AQUA_CONFIG"},
},
},
},
Expand All @@ -46,13 +46,13 @@ func (runner *Runner) Run(ctx context.Context, args ...string) error {
&cli.StringFlag{
Name: "log-level",
Usage: "log level",
EnvVars: []string{"CUBE_LOG_LEVEL"},
EnvVars: []string{"AQUA_LOG_LEVEL"},
},
&cli.StringFlag{
Name: "config",
Aliases: []string{"c"},
Usage: "configuration file path",
EnvVars: []string{"CUBE_CONFIG"},
EnvVars: []string{"AQUA_CONFIG"},
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/controller/controller.go
Expand Up @@ -43,7 +43,7 @@ func New(ctx context.Context, param *Param) (*Controller, error) {
Stderr: os.Stderr,
ConfigFinder: &configFinder{},
ConfigReader: &configReader{},
RootDir: os.Getenv("CUBE_ROOT_DIR"),
RootDir: os.Getenv("AQUA_ROOT_DIR"),
}
if ctrl.RootDir == "" {
ctrl.RootDir = filepath.Join(os.Getenv("HOME"), ".aqua")
Expand Down

0 comments on commit 42902cb

Please sign in to comment.