Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
aknysh committed Nov 2, 2024
1 parent 6066758 commit 16b18db
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions internal/exec/help.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func processHelp(
command string,
) error {
if len(command) == 0 {
u.PrintMessage(fmt.Sprintf("'atmos' supports all native '%s' commands.\n", componentType))
u.PrintMessage(fmt.Sprintf("Atmos supports all native '%s' commands.\n", componentType))
u.PrintMessage("In addition, the 'component' argument and 'stack' flag are required to generate the variables and backend config for the component in the stack.\n")
u.PrintMessage(fmt.Sprintf("atmos %s <command> <component> -s <stack> [options]", componentType))
u.PrintMessage(fmt.Sprintf("atmos %s <command> <component> --stack <stack> [options]", componentType))
Expand Down Expand Up @@ -104,10 +104,11 @@ func processHelp(
"Usage: atmos terraform workspace <component> -s <stack>\n\n" +
"For more details refer to https://atmos.tools/cli/commands/terraform/workspace\n")
} else {
u.PrintMessage(fmt.Sprintf("'atmos' supports native '%s' commands with all the options, arguments and flags.\n", componentType))
u.PrintMessage(fmt.Sprintf("\nAtmos supports native '%s' commands with all the options, arguments and flags.\n", componentType))
u.PrintMessage("In addition, 'component' and 'stack' are required in order to generate variables for the component in the stack.\n")
u.PrintMessage(fmt.Sprintf("atmos %s <subcommand> <component> -s <stack> [options]", componentType))
u.PrintMessage(fmt.Sprintf("atmos %s <subcommand> <component> --stack <stack> [options]", componentType))
u.PrintMessage(fmt.Sprintf("\nFor more details, execute '%s --help'\n", componentType))
}

return nil
Expand Down

0 comments on commit 16b18db

Please sign in to comment.