Remove europa
flag
Signed-off-by: Joel Longtine <joel@dagger.io>
This commit is contained in:
parent
e9b7519402
commit
cdde074d09
@ -33,8 +33,6 @@ func init() {
|
|||||||
|
|
||||||
rootCmd.PersistentFlags().String("project", "", "Specify a project directory (defaults to current)")
|
rootCmd.PersistentFlags().String("project", "", "Specify a project directory (defaults to current)")
|
||||||
|
|
||||||
rootCmd.PersistentFlags().Bool("europa", false, "Enable experiemental Europa UX")
|
|
||||||
|
|
||||||
rootCmd.PersistentPreRun = func(cmd *cobra.Command, _ []string) {
|
rootCmd.PersistentPreRun = func(cmd *cobra.Command, _ []string) {
|
||||||
lg := logger.New()
|
lg := logger.New()
|
||||||
ctx := lg.WithContext(cmd.Context())
|
ctx := lg.WithContext(cmd.Context())
|
||||||
|
@ -50,7 +50,6 @@ var upCmd = &cobra.Command{
|
|||||||
ctx := lg.WithContext(cmd.Context())
|
ctx := lg.WithContext(cmd.Context())
|
||||||
cl := common.NewClient(ctx)
|
cl := common.NewClient(ctx)
|
||||||
|
|
||||||
if viper.GetBool("europa") {
|
|
||||||
err = europaUp(ctx, cl, args...)
|
err = europaUp(ctx, cl, args...)
|
||||||
|
|
||||||
// TODO: rework telemetry
|
// TODO: rework telemetry
|
||||||
@ -59,10 +58,6 @@ var upCmd = &cobra.Command{
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
lg.Fatal().Err(err).Msg("failed to up environment")
|
lg.Fatal().Err(err).Msg("failed to up environment")
|
||||||
}
|
}
|
||||||
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user