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
Improve error stack trace. Add --stack flag to atmos describe affected command. Improve atmos.Component template function (#714)
* updates
* Print stack trace on error only in log level `Trace`
* Don't process Terraform output for abstract and disabled components in `atmos.Component` template function
* Don't process Terraform output for abstract and disabled components in `atmos.Component` template function
* Add `--stack` flag to `atmos describe affected` command
* Add `--stack` flag to `atmos describe affected` command
* Add `--stack` flag to `atmos describe affected` command
* Add `--stack` flag to `atmos describe affected` command
* Add `--stack` flag to `atmos describe affected` command
e "github.com/cloudposse/atmos/internal/exec"
@@ -19,7 +20,7 @@ var describeAffectedCmd = &cobra.Command{
19
20
20
21
err:=e.ExecuteDescribeAffectedCmd(cmd, args)
21
22
iferr!=nil {
22
-
u.LogErrorAndExit(err)
23
+
u.LogErrorAndExit(schema.CliConfiguration{}, err)
23
24
}
24
25
},
25
26
}
@@ -39,6 +40,7 @@ func init() {
39
40
describeAffectedCmd.PersistentFlags().Bool("include-dependents", false, "Include the dependent components and stacks: atmos describe affected --include-dependents=true")
40
41
describeAffectedCmd.PersistentFlags().Bool("include-settings", false, "Include the 'settings' section for each affected component: atmos describe affected --include-settings=true")
41
42
describeAffectedCmd.PersistentFlags().Bool("upload", false, "Upload the affected components and stacks to a specified HTTP endpoint: atmos describe affected --upload=true")
describeAffectedCmd.PersistentFlags().Bool("clone-target-ref", false, "Clone the target reference with which to compare the current branch: atmos describe affected --clone-target-ref=true\n"+
43
45
"If set to 'false' (default), the target reference will be checked out instead\n"+
44
46
"This requires that the target reference is already cloned by Git, and the information about it exists in the '.git' directory")
0 commit comments