You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/root.go
+4-2
Original file line number
Diff line number
Diff line change
@@ -190,8 +190,10 @@ func init() {
190
190
"Errors can be redirected to any file or any standard file descriptor (including `/dev/null`)")
191
191
192
192
RootCmd.PersistentFlags().String("logs-level", "Info", "Logs level. Supported log levels are Trace, Debug, Info, Warning, Off. If the log level is set to Off, Atmos will not log any messages")
193
-
RootCmd.PersistentFlags().String("logs-file", "/dev/stderr", "The file to write Atmos logs to. Logs can be written to any file or any standard file descriptor, including `/dev/stdout`, `/dev/stderr` and `/dev/null`")
194
-
193
+
RootCmd.PersistentFlags().String("logs-file", "/dev/stderr", "The file to write Atmos logs to. Logs can be written to any file or any standard file descriptor, including '/dev/stdout', '/dev/stderr' and '/dev/null'")
194
+
RootCmd.PersistentFlags().String("base-path", "", "Base path for Atmos project")
195
+
RootCmd.PersistentFlags().StringSlice("config", []string{}, "Paths to configuration files (comma-separated or repeated flag)")
196
+
RootCmd.PersistentFlags().StringSlice("config-path", []string{}, "Paths to configuration directories (comma-separated or repeated flag)")
cmd.PersistentFlags().Bool("dry-run", false, "Simulate pulling the latest version of the specified component from the remote repository without making any changes.")
49
49
cmd.PersistentFlags().String("tags", "", "Only vendor the components that have the specified tags")
50
50
cmd.PersistentFlags().Bool("everything", false, "Vendor all components")
51
-
51
+
cmd.PersistentFlags().String("base-path", "", "Base path for Atmos project")
52
+
cmd.PersistentFlags().StringSlice("config", []string{}, "Paths to configuration file")
53
+
cmd.PersistentFlags().StringSlice("config-path", []string{}, "Path to configuration directory")
52
54
// Execute the command
53
55
err=cmd.RunE(cmd, []string{})
54
56
assert.NoError(t, err, "'atmos vendor pull' command should execute without error")
0 commit comments