diff --git a/docs/guides/installing-the-slack-cli-for-mac-and-linux.md b/docs/guides/installing-the-slack-cli-for-mac-and-linux.md index 99a3622e..a5ad3de8 100644 --- a/docs/guides/installing-the-slack-cli-for-mac-and-linux.md +++ b/docs/guides/installing-the-slack-cli-for-mac-and-linux.md @@ -99,11 +99,11 @@ Manual installation allows you to customize certain paths used when installing t **2\. Download the** `slack` **CLI installer for your environment.** -🍎 ⚡️ [**Download for macOS Apple Silicon (.tar.gz)**](https://downloads.slack-edge.com/slack-cli/slack_cli_4.0.1_macOS_arm64.tar.gz) +🍎 ⚡️ [**Download for macOS Apple Silicon (.tar.gz)**](https://downloads.slack-edge.com/slack-cli/slack_cli_4.1.0_macOS_arm64.tar.gz) -🍏 🪨 [**Download for macOS Intel (.tar.gz)**](https://downloads.slack-edge.com/slack-cli/slack_cli_4.0.1_macOS_amd64.tar.gz) +🍏 🪨 [**Download for macOS Intel (.tar.gz)**](https://downloads.slack-edge.com/slack-cli/slack_cli_4.1.0_macOS_amd64.tar.gz) -🐧 💾 [**Download for Linux (.tar.gz)**](https://downloads.slack-edge.com/slack-cli/slack_cli_4.0.1_linux_64-bit.tar.gz) +🐧 💾 [**Download for Linux (.tar.gz)**](https://downloads.slack-edge.com/slack-cli/slack_cli_4.1.0_linux_64-bit.tar.gz) **3\. Add the** `slack` **CLI to your path.** @@ -121,7 +121,7 @@ We recommend using an alias if another `slack` binary exists. To do this, change ```sh $ slack version -Using slack v4.0.1 +Using slack v4.1.0 ``` diff --git a/docs/guides/installing-the-slack-cli-for-windows.md b/docs/guides/installing-the-slack-cli-for-windows.md index f01f4beb..1014c161 100644 --- a/docs/guides/installing-the-slack-cli-for-windows.md +++ b/docs/guides/installing-the-slack-cli-for-windows.md @@ -102,7 +102,7 @@ Manual installation allows you to customize certain paths used when installing t **2\. Download the** `slack` **CLI installer for your environment.** -   Windows (.zip) +   Windows (.zip) **3\. Add the** `slack` **CLI to your path.** @@ -118,7 +118,7 @@ We recommend using an alias if another `slack` binary exists. To do this, change ```pwsh $ slack version -Using slack v4.0.1 +Using slack v4.1.0 ``` diff --git a/docs/reference/commands/slack.md b/docs/reference/commands/slack.md index 4c09f091..536ec38d 100644 --- a/docs/reference/commands/slack.md +++ b/docs/reference/commands/slack.md @@ -15,6 +15,7 @@ slack [flags] ## Flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command @@ -41,6 +42,7 @@ $ slack docs # Open Slack developer docs ## See also * [slack activity](slack_activity) - Display the app activity logs from the Slack Platform +* [slack api](slack_api) - Call any Slack API method * [slack app](slack_app) - Install, uninstall, and list teams with the app installed * [slack auth](slack_auth) - Add and remove local team authorizations * [slack collaborator](slack_collaborator) - Manage app collaborators diff --git a/docs/reference/commands/slack_activity.md b/docs/reference/commands/slack_activity.md index 397fec27..94a36e61 100644 --- a/docs/reference/commands/slack_activity.md +++ b/docs/reference/commands/slack_activity.md @@ -36,6 +36,7 @@ slack activity [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_api.md b/docs/reference/commands/slack_api.md new file mode 100644 index 00000000..bc134042 --- /dev/null +++ b/docs/reference/commands/slack_api.md @@ -0,0 +1,125 @@ +# `slack api` + +Call any Slack API method + +## Description + +Call any Slack API method directly. + +The method argument is the Slack API method name (e.g., "chat.postMessage"). +Parameters are passed as key=value pairs, a JSON body, or via flags. + +Body format is auto-detected from positional arguments: + - Multiple key=value args: form-encoded (token in request body) + - Single arg starting with { or [: JSON (Bearer token in header) + - No args: token sent in Authorization header + +Use --json to explicitly send a JSON body, or --data for a form-encoded body string. + +Token resolution (in priority order): + 1. --token flag Explicit token value + 2. --app flag Install app and use bot token (in project) + 3. SLACK_BOT_TOKEN env var Bot token (set during slack deploy) + 4. SLACK_USER_TOKEN env var User token + 5. App prompt (in project) Select installed app and use bot token + +See all methods at: https://docs.slack.dev/reference/methods + +``` +slack api [key=value ...] [flags] +``` + +## Flags + +``` + --data string form-encoded request body string (e.g. "key1=val1&key2=val2") + -H, --header strings additional HTTP headers (format: "Key: Value") + -h, --help help for api + -i, --include include HTTP status code and response headers in output + --json string JSON request body (uses Bearer token in Authorization header) + -X, --method string HTTP method for the request (default "POST") +``` + +## Global flags + +``` + --accessible use accessible prompts for screen readers + -a, --app string use a specific app ID or environment + --config-dir string use a custom path for system config directory + -e, --experiment strings use the experiment(s) in the command + -f, --force ignore warnings and continue executing command + --no-color remove styles and formatting from outputs + -s, --skip-update skip checking for latest version of CLI + -w, --team string select workspace or organization by team name or ID + --token string set the access token associated with a team + -v, --verbose print debug logging and additional info +``` + +## Examples + +``` +# Test your API connection +$ slack api api.test + +# Check authentication +$ slack api auth.test + +# Add a bookmark to a channel +$ slack api bookmarks.add channel_id=C0123456 title=Docs link=https://example.com + +# Send a message to a channel using form-encoded string +$ slack api chat.postMessage channel=C0123456 text="Hello" + +# Send a message to a channel using JSON +$ slack api chat.postMessage --json '{"channel":"C0123456","text":"Hello"}' + +# Update a message +$ slack api chat.update channel=C0123456 ts=1234567890.123456 text="Updated" + +# Create a channel +$ slack api conversations.create name=new-channel + +# Fetch messages from a channel +$ slack api conversations.history channel=C0123456 + +# Get channel details +$ slack api conversations.info channel=C0123456 + +# List channels +$ slack api conversations.list + +# List members in a channel +$ slack api conversations.members channel=C0123456 + +# Upload a file +$ slack api files.upload channels=C0123456 filename=report.csv + +# Pin a message +$ slack api pins.add channel=C0123456 timestamp=1234567890.123456 + +# Add an emoji reaction +$ slack api reactions.add channel=C0123456 timestamp=1234567890.123456 name=thumbsup + +# List reactions for a user +$ slack api reactions.list user=U0123456 + +# Get user details +$ slack api users.info user=U0123456 + +# List workspace members +$ slack api users.list + +# Get a user's profile +$ slack api users.profile.get user=U0123456 + +# Open a modal view +$ slack api views.open trigger_id=T0123456 view={...} + +# Update a modal view +$ slack api views.update view_id=V0123456 view={...} +``` + +## See also + +* [slack](slack) - Slack command-line tool + diff --git a/docs/reference/commands/slack_app.md b/docs/reference/commands/slack_app.md index 80bf3c11..5a7a9f95 100644 --- a/docs/reference/commands/slack_app.md +++ b/docs/reference/commands/slack_app.md @@ -19,6 +19,7 @@ slack app [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_app_delete.md b/docs/reference/commands/slack_app_delete.md index 31336532..4309d471 100644 --- a/docs/reference/commands/slack_app_delete.md +++ b/docs/reference/commands/slack_app_delete.md @@ -19,6 +19,7 @@ slack app delete [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_app_install.md b/docs/reference/commands/slack_app_install.md index d8c7dbfc..4df029d6 100644 --- a/docs/reference/commands/slack_app_install.md +++ b/docs/reference/commands/slack_app_install.md @@ -22,6 +22,7 @@ slack app install [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_app_link.md b/docs/reference/commands/slack_app_link.md index 0afc1b20..da77a4ce 100644 --- a/docs/reference/commands/slack_app_link.md +++ b/docs/reference/commands/slack_app_link.md @@ -29,6 +29,7 @@ slack app link [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_app_list.md b/docs/reference/commands/slack_app_list.md index d38b8f81..b21a14ed 100644 --- a/docs/reference/commands/slack_app_list.md +++ b/docs/reference/commands/slack_app_list.md @@ -21,6 +21,7 @@ slack app list [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_app_settings.md b/docs/reference/commands/slack_app_settings.md index 050e869f..dd1a5678 100644 --- a/docs/reference/commands/slack_app_settings.md +++ b/docs/reference/commands/slack_app_settings.md @@ -24,6 +24,7 @@ slack app settings [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_app_uninstall.md b/docs/reference/commands/slack_app_uninstall.md index 4977663d..67628a1f 100644 --- a/docs/reference/commands/slack_app_uninstall.md +++ b/docs/reference/commands/slack_app_uninstall.md @@ -19,6 +19,7 @@ slack app uninstall [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_app_unlink.md b/docs/reference/commands/slack_app_unlink.md index f8522b1f..3cd34799 100644 --- a/docs/reference/commands/slack_app_unlink.md +++ b/docs/reference/commands/slack_app_unlink.md @@ -22,6 +22,7 @@ slack app unlink [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_auth.md b/docs/reference/commands/slack_auth.md index 6f91b6ed..5744ae08 100644 --- a/docs/reference/commands/slack_auth.md +++ b/docs/reference/commands/slack_auth.md @@ -19,6 +19,7 @@ slack auth [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_auth_list.md b/docs/reference/commands/slack_auth_list.md index 01837506..bd328ea6 100644 --- a/docs/reference/commands/slack_auth_list.md +++ b/docs/reference/commands/slack_auth_list.md @@ -19,6 +19,7 @@ slack auth list [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_auth_login.md b/docs/reference/commands/slack_auth_login.md index b12fac2c..e501fb3c 100644 --- a/docs/reference/commands/slack_auth_login.md +++ b/docs/reference/commands/slack_auth_login.md @@ -23,6 +23,7 @@ slack auth login [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_auth_logout.md b/docs/reference/commands/slack_auth_logout.md index 92fa7292..9481d2ff 100644 --- a/docs/reference/commands/slack_auth_logout.md +++ b/docs/reference/commands/slack_auth_logout.md @@ -20,6 +20,7 @@ slack auth logout [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_auth_revoke.md b/docs/reference/commands/slack_auth_revoke.md index efb228ae..02a71666 100644 --- a/docs/reference/commands/slack_auth_revoke.md +++ b/docs/reference/commands/slack_auth_revoke.md @@ -19,6 +19,7 @@ slack auth revoke [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_auth_token.md b/docs/reference/commands/slack_auth_token.md index 32002814..27664d77 100644 --- a/docs/reference/commands/slack_auth_token.md +++ b/docs/reference/commands/slack_auth_token.md @@ -22,6 +22,7 @@ slack auth token [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_collaborator.md b/docs/reference/commands/slack_collaborator.md index 47428061..101de19b 100644 --- a/docs/reference/commands/slack_collaborator.md +++ b/docs/reference/commands/slack_collaborator.md @@ -19,6 +19,7 @@ slack collaborator [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_collaborator_add.md b/docs/reference/commands/slack_collaborator_add.md index 9520353f..0bf6daa1 100644 --- a/docs/reference/commands/slack_collaborator_add.md +++ b/docs/reference/commands/slack_collaborator_add.md @@ -21,6 +21,7 @@ slack collaborator add [email|user_id] [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_collaborator_list.md b/docs/reference/commands/slack_collaborator_list.md index 283607be..a9a525f8 100644 --- a/docs/reference/commands/slack_collaborator_list.md +++ b/docs/reference/commands/slack_collaborator_list.md @@ -19,6 +19,7 @@ slack collaborator list [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_collaborator_remove.md b/docs/reference/commands/slack_collaborator_remove.md index 676daa4e..dfc1bf5d 100644 --- a/docs/reference/commands/slack_collaborator_remove.md +++ b/docs/reference/commands/slack_collaborator_remove.md @@ -19,6 +19,7 @@ slack collaborator remove [email|user_id] [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_create.md b/docs/reference/commands/slack_create.md index 2503099d..f51d3e69 100644 --- a/docs/reference/commands/slack_create.md +++ b/docs/reference/commands/slack_create.md @@ -27,6 +27,7 @@ slack create [name | agent ] [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_datastore.md b/docs/reference/commands/slack_datastore.md index da6f1ae4..b4a139d2 100644 --- a/docs/reference/commands/slack_datastore.md +++ b/docs/reference/commands/slack_datastore.md @@ -24,6 +24,7 @@ slack datastore [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_datastore_bulk-delete.md b/docs/reference/commands/slack_datastore_bulk-delete.md index b7dc6d92..5578369f 100644 --- a/docs/reference/commands/slack_datastore_bulk-delete.md +++ b/docs/reference/commands/slack_datastore_bulk-delete.md @@ -25,6 +25,7 @@ slack datastore bulk-delete [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_datastore_bulk-get.md b/docs/reference/commands/slack_datastore_bulk-get.md index 1aee8c55..e37881ed 100644 --- a/docs/reference/commands/slack_datastore_bulk-get.md +++ b/docs/reference/commands/slack_datastore_bulk-get.md @@ -26,6 +26,7 @@ slack datastore bulk-get [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_datastore_bulk-put.md b/docs/reference/commands/slack_datastore_bulk-put.md index da6bb7f4..14fa9340 100644 --- a/docs/reference/commands/slack_datastore_bulk-put.md +++ b/docs/reference/commands/slack_datastore_bulk-put.md @@ -26,6 +26,7 @@ slack datastore bulk-put [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_datastore_count.md b/docs/reference/commands/slack_datastore_count.md index 4ed1e473..ad2bd3a1 100644 --- a/docs/reference/commands/slack_datastore_count.md +++ b/docs/reference/commands/slack_datastore_count.md @@ -26,6 +26,7 @@ slack datastore count [expression] [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_datastore_delete.md b/docs/reference/commands/slack_datastore_delete.md index 1eb684cf..18f0e34c 100644 --- a/docs/reference/commands/slack_datastore_delete.md +++ b/docs/reference/commands/slack_datastore_delete.md @@ -25,6 +25,7 @@ slack datastore delete [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_datastore_get.md b/docs/reference/commands/slack_datastore_get.md index b73c8de4..27d98dbc 100644 --- a/docs/reference/commands/slack_datastore_get.md +++ b/docs/reference/commands/slack_datastore_get.md @@ -26,6 +26,7 @@ slack datastore get [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_datastore_put.md b/docs/reference/commands/slack_datastore_put.md index 97544089..8f0f7849 100644 --- a/docs/reference/commands/slack_datastore_put.md +++ b/docs/reference/commands/slack_datastore_put.md @@ -25,6 +25,7 @@ slack datastore put [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_datastore_query.md b/docs/reference/commands/slack_datastore_query.md index c8e57039..816675f4 100644 --- a/docs/reference/commands/slack_datastore_query.md +++ b/docs/reference/commands/slack_datastore_query.md @@ -27,6 +27,7 @@ slack datastore query [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_datastore_update.md b/docs/reference/commands/slack_datastore_update.md index 77fb20fa..43d66f7d 100644 --- a/docs/reference/commands/slack_datastore_update.md +++ b/docs/reference/commands/slack_datastore_update.md @@ -25,6 +25,7 @@ slack datastore update [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_delete.md b/docs/reference/commands/slack_delete.md index 8dcc2587..ec5a2149 100644 --- a/docs/reference/commands/slack_delete.md +++ b/docs/reference/commands/slack_delete.md @@ -19,6 +19,7 @@ slack delete [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_deploy.md b/docs/reference/commands/slack_deploy.md index 83d7d541..10f06f10 100644 --- a/docs/reference/commands/slack_deploy.md +++ b/docs/reference/commands/slack_deploy.md @@ -22,6 +22,7 @@ slack deploy [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_docs.md b/docs/reference/commands/slack_docs.md index af1ffb58..3907c1e0 100644 --- a/docs/reference/commands/slack_docs.md +++ b/docs/reference/commands/slack_docs.md @@ -19,6 +19,7 @@ slack docs [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_docs_search.md b/docs/reference/commands/slack_docs_search.md index 564c6227..317c39bb 100644 --- a/docs/reference/commands/slack_docs_search.md +++ b/docs/reference/commands/slack_docs_search.md @@ -22,6 +22,7 @@ slack docs search [query] [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_doctor.md b/docs/reference/commands/slack_doctor.md index 643e284e..fff3a360 100644 --- a/docs/reference/commands/slack_doctor.md +++ b/docs/reference/commands/slack_doctor.md @@ -28,6 +28,7 @@ slack doctor [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_env.md b/docs/reference/commands/slack_env.md index 2fa98cd9..5f6d0434 100644 --- a/docs/reference/commands/slack_env.md +++ b/docs/reference/commands/slack_env.md @@ -27,6 +27,7 @@ slack env [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command @@ -41,6 +42,8 @@ slack env [flags] ## Examples ``` +# Initialize environment variables from a template file +$ slack env init $ slack env set MAGIC_PASSWORD abracadbra # Set an environment variable # List all environment variables @@ -51,6 +54,7 @@ $ slack env unset MAGIC_PASSWORD # Unset an environment variable ## See also * [slack](slack) - Slack command-line tool +* [slack env init](slack_env_init) - Initialize environment variables from a template file * [slack env list](slack_env_list) - List all environment variables of the project * [slack env set](slack_env_set) - Set an environment variable for the project * [slack env unset](slack_env_unset) - Unset an environment variable from the project diff --git a/docs/reference/commands/slack_env_init.md b/docs/reference/commands/slack_env_init.md new file mode 100644 index 00000000..ba5e9eae --- /dev/null +++ b/docs/reference/commands/slack_env_init.md @@ -0,0 +1,48 @@ +# `slack env init` + +Initialize environment variables from a template file + +## Description + +Initialize the project ".env" file by copying from an ".env" template file. + +Copies content from either the ".env.sample" or ".env.example" file to the +project ".env" file if those project environment variables don't already exist. + +Apps using ROSI features should set environment variables with `slack env set`. + +``` +slack env init [flags] +``` + +## Flags + +``` + -h, --help help for init +``` + +## Global flags + +``` + --accessible use accessible prompts for screen readers + -a, --app string use a specific app ID or environment + --config-dir string use a custom path for system config directory + -e, --experiment strings use the experiment(s) in the command + -f, --force ignore warnings and continue executing command + --no-color remove styles and formatting from outputs + -s, --skip-update skip checking for latest version of CLI + -w, --team string select workspace or organization by team name or ID + --token string set the access token associated with a team + -v, --verbose print debug logging and additional info +``` + +## Examples + +``` +$ slack env init # Initialize environment variables from a template file +``` + +## See also + +* [slack env](slack_env) - Set, unset, or list environment variables + diff --git a/docs/reference/commands/slack_env_list.md b/docs/reference/commands/slack_env_list.md index 7138e00c..395faf57 100644 --- a/docs/reference/commands/slack_env_list.md +++ b/docs/reference/commands/slack_env_list.md @@ -25,6 +25,7 @@ slack env list [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_env_set.md b/docs/reference/commands/slack_env_set.md index 170676de..ffea4254 100644 --- a/docs/reference/commands/slack_env_set.md +++ b/docs/reference/commands/slack_env_set.md @@ -28,6 +28,7 @@ slack env set [name] [value] [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_env_unset.md b/docs/reference/commands/slack_env_unset.md index d8edf57f..d65f0a63 100644 --- a/docs/reference/commands/slack_env_unset.md +++ b/docs/reference/commands/slack_env_unset.md @@ -28,6 +28,7 @@ slack env unset [name] [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_external-auth.md b/docs/reference/commands/slack_external-auth.md index bc9f9c71..69a9a56e 100644 --- a/docs/reference/commands/slack_external-auth.md +++ b/docs/reference/commands/slack_external-auth.md @@ -24,6 +24,7 @@ slack external-auth [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_external-auth_add-secret.md b/docs/reference/commands/slack_external-auth_add-secret.md index b178e2ec..fcfd784e 100644 --- a/docs/reference/commands/slack_external-auth_add-secret.md +++ b/docs/reference/commands/slack_external-auth_add-secret.md @@ -26,6 +26,7 @@ slack external-auth add-secret [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_external-auth_add.md b/docs/reference/commands/slack_external-auth_add.md index 058ecfb9..dece833f 100644 --- a/docs/reference/commands/slack_external-auth_add.md +++ b/docs/reference/commands/slack_external-auth_add.md @@ -23,6 +23,7 @@ slack external-auth add [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_external-auth_remove.md b/docs/reference/commands/slack_external-auth_remove.md index 1548544d..a8bd6cb8 100644 --- a/docs/reference/commands/slack_external-auth_remove.md +++ b/docs/reference/commands/slack_external-auth_remove.md @@ -27,6 +27,7 @@ slack external-auth remove [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_external-auth_select-auth.md b/docs/reference/commands/slack_external-auth_select-auth.md index 682b8cad..3ce069a7 100644 --- a/docs/reference/commands/slack_external-auth_select-auth.md +++ b/docs/reference/commands/slack_external-auth_select-auth.md @@ -26,6 +26,7 @@ slack external-auth select-auth [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_feedback.md b/docs/reference/commands/slack_feedback.md index 9c541c1c..55369202 100644 --- a/docs/reference/commands/slack_feedback.md +++ b/docs/reference/commands/slack_feedback.md @@ -24,6 +24,7 @@ slack feedback [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_function.md b/docs/reference/commands/slack_function.md index bfef53ce..4edf70bc 100644 --- a/docs/reference/commands/slack_function.md +++ b/docs/reference/commands/slack_function.md @@ -25,6 +25,7 @@ slack function [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_function_access.md b/docs/reference/commands/slack_function_access.md index 823ef35e..0b7b443e 100644 --- a/docs/reference/commands/slack_function_access.md +++ b/docs/reference/commands/slack_function_access.md @@ -36,6 +36,7 @@ slack function access [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_init.md b/docs/reference/commands/slack_init.md index cc1c2bda..538dc36e 100644 --- a/docs/reference/commands/slack_init.md +++ b/docs/reference/commands/slack_init.md @@ -39,6 +39,7 @@ slack init [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_install.md b/docs/reference/commands/slack_install.md index be50b5dd..2d63b971 100644 --- a/docs/reference/commands/slack_install.md +++ b/docs/reference/commands/slack_install.md @@ -22,6 +22,7 @@ slack install [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_list.md b/docs/reference/commands/slack_list.md index a6a3b307..797c3f5f 100644 --- a/docs/reference/commands/slack_list.md +++ b/docs/reference/commands/slack_list.md @@ -19,6 +19,7 @@ slack list [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_login.md b/docs/reference/commands/slack_login.md index 4187b969..4d2180e9 100644 --- a/docs/reference/commands/slack_login.md +++ b/docs/reference/commands/slack_login.md @@ -23,6 +23,7 @@ slack login [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_logout.md b/docs/reference/commands/slack_logout.md index 9132ec8d..de2a9b4d 100644 --- a/docs/reference/commands/slack_logout.md +++ b/docs/reference/commands/slack_logout.md @@ -20,6 +20,7 @@ slack logout [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_manifest.md b/docs/reference/commands/slack_manifest.md index 2104964d..34ba8c2d 100644 --- a/docs/reference/commands/slack_manifest.md +++ b/docs/reference/commands/slack_manifest.md @@ -27,6 +27,7 @@ slack manifest [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_manifest_info.md b/docs/reference/commands/slack_manifest_info.md index a2421b88..93364114 100644 --- a/docs/reference/commands/slack_manifest_info.md +++ b/docs/reference/commands/slack_manifest_info.md @@ -25,6 +25,7 @@ slack manifest info [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_manifest_validate.md b/docs/reference/commands/slack_manifest_validate.md index 921a5ab5..49ad078b 100644 --- a/docs/reference/commands/slack_manifest_validate.md +++ b/docs/reference/commands/slack_manifest_validate.md @@ -19,6 +19,7 @@ slack manifest validate [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_platform.md b/docs/reference/commands/slack_platform.md index dd3b3888..b40b788f 100644 --- a/docs/reference/commands/slack_platform.md +++ b/docs/reference/commands/slack_platform.md @@ -19,6 +19,7 @@ slack platform [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_platform_activity.md b/docs/reference/commands/slack_platform_activity.md index 5b866ea9..75facc44 100644 --- a/docs/reference/commands/slack_platform_activity.md +++ b/docs/reference/commands/slack_platform_activity.md @@ -36,6 +36,7 @@ slack platform activity [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_platform_deploy.md b/docs/reference/commands/slack_platform_deploy.md index 3d11f9e3..e26ed90e 100644 --- a/docs/reference/commands/slack_platform_deploy.md +++ b/docs/reference/commands/slack_platform_deploy.md @@ -22,6 +22,7 @@ slack platform deploy [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_platform_run.md b/docs/reference/commands/slack_platform_run.md index 3ed75494..34677798 100644 --- a/docs/reference/commands/slack_platform_run.md +++ b/docs/reference/commands/slack_platform_run.md @@ -25,6 +25,7 @@ slack platform run [app-file-path] [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_project.md b/docs/reference/commands/slack_project.md index 44f657b4..9395a3d0 100644 --- a/docs/reference/commands/slack_project.md +++ b/docs/reference/commands/slack_project.md @@ -25,6 +25,7 @@ slack project [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_project_create.md b/docs/reference/commands/slack_project_create.md index da4f7a66..258c66e6 100644 --- a/docs/reference/commands/slack_project_create.md +++ b/docs/reference/commands/slack_project_create.md @@ -27,6 +27,7 @@ slack project create [name | agent ] [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_project_init.md b/docs/reference/commands/slack_project_init.md index e4e11785..63eb4b3e 100644 --- a/docs/reference/commands/slack_project_init.md +++ b/docs/reference/commands/slack_project_init.md @@ -39,6 +39,7 @@ slack project init [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_project_samples.md b/docs/reference/commands/slack_project_samples.md index ff540d26..d8bf64f4 100644 --- a/docs/reference/commands/slack_project_samples.md +++ b/docs/reference/commands/slack_project_samples.md @@ -22,6 +22,7 @@ slack project samples [name] [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_run.md b/docs/reference/commands/slack_run.md index e0493848..ccb59969 100644 --- a/docs/reference/commands/slack_run.md +++ b/docs/reference/commands/slack_run.md @@ -25,6 +25,7 @@ slack run [app-file-path] [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_samples.md b/docs/reference/commands/slack_samples.md index be40e5af..9127467d 100644 --- a/docs/reference/commands/slack_samples.md +++ b/docs/reference/commands/slack_samples.md @@ -22,6 +22,7 @@ slack samples [name] [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_sandbox.md b/docs/reference/commands/slack_sandbox.md index 8c1dd364..e0eb4941 100644 --- a/docs/reference/commands/slack_sandbox.md +++ b/docs/reference/commands/slack_sandbox.md @@ -14,7 +14,7 @@ New to the Developer Program? Sign up at [https://api.slack.com/developer-program/join](https://api.slack.com/developer-program/join) ``` -slack sandbox [flags] --experiment=sandboxes +slack sandbox [flags] ``` ## Flags @@ -26,6 +26,7 @@ slack sandbox [flags] --experiment=sandboxes ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_sandbox_create.md b/docs/reference/commands/slack_sandbox_create.md index 54921b52..21ae046c 100644 --- a/docs/reference/commands/slack_sandbox_create.md +++ b/docs/reference/commands/slack_sandbox_create.md @@ -29,6 +29,7 @@ slack sandbox create [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_sandbox_delete.md b/docs/reference/commands/slack_sandbox_delete.md index 080f6e24..e93f7c20 100644 --- a/docs/reference/commands/slack_sandbox_delete.md +++ b/docs/reference/commands/slack_sandbox_delete.md @@ -21,6 +21,7 @@ slack sandbox delete [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_sandbox_list.md b/docs/reference/commands/slack_sandbox_list.md index e144a11d..870297e4 100644 --- a/docs/reference/commands/slack_sandbox_list.md +++ b/docs/reference/commands/slack_sandbox_list.md @@ -23,6 +23,7 @@ slack sandbox list [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_trigger.md b/docs/reference/commands/slack_trigger.md index 05ba3463..e8706b22 100644 --- a/docs/reference/commands/slack_trigger.md +++ b/docs/reference/commands/slack_trigger.md @@ -19,6 +19,7 @@ slack trigger [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_trigger_access.md b/docs/reference/commands/slack_trigger_access.md index f44386b1..80bb4cef 100644 --- a/docs/reference/commands/slack_trigger_access.md +++ b/docs/reference/commands/slack_trigger_access.md @@ -33,6 +33,7 @@ slack trigger access --trigger-id [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_trigger_create.md b/docs/reference/commands/slack_trigger_create.md index 59971143..79c6b413 100644 --- a/docs/reference/commands/slack_trigger_create.md +++ b/docs/reference/commands/slack_trigger_create.md @@ -37,6 +37,7 @@ slack trigger create [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_trigger_delete.md b/docs/reference/commands/slack_trigger_delete.md index e43cca83..7908f989 100644 --- a/docs/reference/commands/slack_trigger_delete.md +++ b/docs/reference/commands/slack_trigger_delete.md @@ -20,6 +20,7 @@ slack trigger delete --trigger-id [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_trigger_info.md b/docs/reference/commands/slack_trigger_info.md index 12064e01..94c56e67 100644 --- a/docs/reference/commands/slack_trigger_info.md +++ b/docs/reference/commands/slack_trigger_info.md @@ -20,6 +20,7 @@ slack trigger info --trigger-id [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_trigger_list.md b/docs/reference/commands/slack_trigger_list.md index 4bec07f6..7c68132c 100644 --- a/docs/reference/commands/slack_trigger_list.md +++ b/docs/reference/commands/slack_trigger_list.md @@ -21,6 +21,7 @@ slack trigger list [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_trigger_update.md b/docs/reference/commands/slack_trigger_update.md index d4f0c0c1..5dba6791 100644 --- a/docs/reference/commands/slack_trigger_update.md +++ b/docs/reference/commands/slack_trigger_update.md @@ -36,6 +36,7 @@ slack trigger update --trigger-id [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_uninstall.md b/docs/reference/commands/slack_uninstall.md index 0fa31872..2bfe407e 100644 --- a/docs/reference/commands/slack_uninstall.md +++ b/docs/reference/commands/slack_uninstall.md @@ -19,6 +19,7 @@ slack uninstall [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_upgrade.md b/docs/reference/commands/slack_upgrade.md index 60db40ad..19b0bec7 100644 --- a/docs/reference/commands/slack_upgrade.md +++ b/docs/reference/commands/slack_upgrade.md @@ -23,6 +23,7 @@ slack upgrade [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/commands/slack_version.md b/docs/reference/commands/slack_version.md index e049be3e..fb889698 100644 --- a/docs/reference/commands/slack_version.md +++ b/docs/reference/commands/slack_version.md @@ -39,6 +39,7 @@ slack version [flags] ## Global flags ``` + --accessible use accessible prompts for screen readers -a, --app string use a specific app ID or environment --config-dir string use a custom path for system config directory -e, --experiment strings use the experiment(s) in the command diff --git a/docs/reference/errors.md b/docs/reference/errors.md index 551f9fa1..5a0a3b44 100644 --- a/docs/reference/errors.md +++ b/docs/reference/errors.md @@ -510,12 +510,24 @@ Approval is pending review --- +### domain_long {#domain_long} + +**Message**: Sandbox name or domain is too long + +--- + ### domain_taken {#domain_taken} **Message**: This domain has been claimed by another sandbox --- +### dotenv_file_already_exists {#dotenv_file_already_exists} + +**Message**: A .env file already exists + +--- + ### dotenv_file_parse_error {#dotenv_file_parse_error} **Message**: Failed to parse the .env file @@ -534,6 +546,12 @@ Approval is pending review --- +### dotenv_placeholder_not_found {#dotenv_placeholder_not_found} + +**Message**: No .env template file was found for environment variables + +--- + ### dotenv_var_marshal_error {#dotenv_var_marshal_error} **Message**: Failed to marshal the .env variable