Skip to content

Commit 774e2b1

Browse files
committed
docs: update env help
1 parent 98a23ea commit 774e2b1

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

cmd/env/env.go

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,13 @@ func NewCommand(clients *shared.ClientFactory) *cobra.Command {
3636
Aliases: []string{"var", "vars", "variable", "variables"},
3737
Short: "Add, remove, or list environment variables",
3838
Long: strings.Join([]string{
39-
"Add, remove, or list environment variables for apps deployed to Slack managed",
40-
"infrastructure.",
39+
"Add, remove, or list environment variables for the app.",
4140
"",
42-
"This command is supported for apps deployed to Slack managed infrastructure but",
43-
"other apps can attempt to run the command with the --force flag.",
41+
"Commands that run in the context of a project source environment variables from",
42+
"the \".env\" file. This includes the \"run\" command.",
43+
"",
44+
"The \"deploy\" command gathers environment variables from the \".env\" file as well",
45+
"unless the app is using ROSI features.",
4446
"",
4547
`Explore more: {{LinkText "https://docs.slack.dev/tools/slack-cli/guides/using-environment-variables-with-the-slack-cli"}}`,
4648
}, "\n"),

0 commit comments

Comments
 (0)