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: docs/guides/authorizing-the-slack-cli.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,9 +72,9 @@ Setting up a CI/CD pipeline requires authorization using a service token. Servic
72
72
73
73
To get a service token, you'll use the `slack auth token` command to get a `slackauthticket`, which you'll copy and paste into your workspace to exchange forthe service token. The service token will not be saved to your `credentials.json` file; instead, it is presentedin the terminal foryou to copy and paste for usein your CI/CD pipeline. Once copied, you'll use the `slack login --auth <your-service-token>` command to authorize your Slack CLI. Detailed instructions are below.
74
74
75
-
:::info
75
+
:::info[The service token will not conflict with your regular authentication token.]
76
76
77
-
The service token will not conflict with your regular authentication token; you can continue using your regular authentication token within the Slack CLI while using the service token for your CI/CD pipeline.
77
+
You can continue using your regular authentication token within the Slack CLI while using the service token for your CI/CD pipeline.
Copy file name to clipboardExpand all lines: docs/guides/installing-the-slack-cli-for-mac-and-linux.md
+12-13Lines changed: 12 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,9 +12,9 @@ The Slack CLI is a set of tools critical to building workflow apps. This is your
12
12
13
13
⤵️ **If you need to authorize the Slack CLI, [go here](/slack-cli/guides/authorizing-the-slack-cli)**.
14
14
15
-
:::info
15
+
:::info[The minimum required Slack CLI version for Enterprise Grid as of September 19th, 2023 is `v2.9.0`.]
16
16
17
-
The minimum required Slack CLI version for Enterprise Grid as of September 19th, 2023 is `v2.9.0`. If you attempt to log in with an older version, you'll receive a `cli_update_required` error from the Slack API. Run `slack upgrade` to get the latest version.
17
+
If you attempt to log in with an older version, you'll receive a `cli_update_required` error from the Slack API. Run `slack upgrade` to get the latest version.
Error: _Failed to create a symbolic link! The installer doesn't have write access to /usr/local/bin. Please check permission and try again..._
80
80
81
81
Solution: Sudo actions within the scripts were removed so as not to create any security concerns. The `$HOME` env var is updated to `/root`— however, the installer is using `$HOME` for both Deno and the SDK install, which causes the whole install to be placed under `/root`, making both Deno and the SDK unusable for users without root permissions.
82
+
82
83
* For users who do not have root permissions, run the sudo actions manually as follows: `sudo mkdir -p -m 775 /usr/local/bin`, then `sudo ln -sf "$slack_cli_bin_path" "/usr/local/bin/$SLACK_CLI_NAME"` where `$slack_cli_bin_path` is typically `$HOME/.slack/bin/slack` and `$SLACK_CLI_NAME` is typically the alias (by default it’s `slack`).
83
84
* For users who do have root permissions, you can run the installation script as `sudo curl -fsSL https://downloads.slack-edge.com/slack-cli/install.sh | bash`. In this case, the script is executed as root.
84
85
@@ -101,23 +102,22 @@ v8 10.*
101
102
typescript 4.*
102
103
```
103
104
104
-
**3\. Download and install
105
-
[Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git), a
106
-
dependency of the**`slack`**CLI.**
105
+
**3\. Download and install [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git), a dependency of the**`slack`**CLI.**
107
106
108
107
**4\. Download the**`slack`**CLI installer for your environment.**
109
108
110
-
<ts-iconclass="ts_icon_apple"></ts-icon> <ahref="https://downloads.slack-edge.com/slack-cli/slack_cli_3.5.0_macOS_arm64.tar.gz"><strong>Download for macOS Apple Silicon (.tar.gz)</strong></a>
109
+
🍎 ⚡️ [**Download for macOS Apple Silicon (.tar.gz)**](https://downloads.slack-edge.com/slack-cli/slack_cli_3.5.0_macOS_arm64.tar.gz)
111
110
112
-
<ts-iconclass="ts_icon_apple"></ts-icon> <ahref="https://downloads.slack-edge.com/slack-cli/slack_cli_3.5.0_macOS_amd64.tar.gz"><strong>Download for macOS Intel (.tar.gz)</strong></a>
111
+
🍏 🪨 [**Download for macOS Intel (.tar.gz)**](https://downloads.slack-edge.com/slack-cli/slack_cli_3.5.0_macOS_amd64.tar.gz)
113
112
114
-
<ts-iconclass="ts_icon_plug"></ts-icon> <ahref="https://downloads.slack-edge.com/slack-cli/slack_cli_3.5.0_linux_64-bit.tar.gz"><strong>Download for Linux (.tar.gz)</strong></a>
113
+
🐧 💾 [**Download for Linux (.tar.gz)**](https://downloads.slack-edge.com/slack-cli/slack_cli_3.5.0_linux_64-bit.tar.gz)
115
114
116
115
**5\. Add the**`slack`**CLI to your path.**
117
116
118
-
:::info
119
-
<p><strong>Existing</strong> <code>slack</code> <strong>binary in path?</strong></p>
120
-
<p>If you have another CLI tool in your path called <code>slack</code>, we recommend renaming our slack binary to a different name before adding it to your path. See the <strong>Automated installation</strong> tab for more details.</p>
117
+
:::info[Existing `slack` binary in path?]
118
+
119
+
If you have another CLI tool in your path called `slack`, we recommend renaming our slack binary to a different name before adding it to your path. See the **Automated installation** tab for more details.
120
+
121
121
:::
122
122
123
123
**6\. Verify that**`slack`**is installed and in your path.**
@@ -165,8 +165,7 @@ In addition, if you attempt to run the `slack run` command without this dependen
165
165
166
166
Ensure that `deno-slack-hooks` is installed at the project level and that the version is not less than `v1.3.0`.
Copy file name to clipboardExpand all lines: docs/guides/installing-the-slack-cli-for-windows.md
+10-22Lines changed: 10 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,15 +12,13 @@ The Slack CLI is a set of tools critical to building workflow apps. This is your
12
12
13
13
⤵️ **If you need to authorize the Slack CLI, [go here](/slack-cli/guides/authorizing-the-slack-cli)**.
14
14
15
-
:::info
15
+
:::info[The minimum required Slack CLI version for Enterprise Grid as of September 19th, 2023 is `v2.9.0`.]
16
16
17
-
The minimum required Slack CLI version for Enterprise Grid as of September 19th, 2023 is `v2.9.0`. If you attempt to log in with an older version, you'll receive a `cli_update_required` error from the Slack API. Run `slack upgrade` to get the latest version.
17
+
If you attempt to log in with an older version, you'll receive a `cli_update_required` error from the Slack API. Run `slack upgrade` to get the latest version.
18
18
19
19
:::
20
20
21
-
:::warning
22
-
23
-
**PowerShell is required for installing the Slack CLI on Windows machines.** An alternative shell will not work.
21
+
:::warning[PowerShell is required for installing the Slack CLI on Windows machines; an alternative shell will not work.]
24
22
25
23
:::
26
24
@@ -33,17 +31,11 @@ The minimum required Slack CLI version for Enterprise Grid as of September 19th,
This will install the Slack CLI and all required dependencies, including [Deno](/deno-slack-sdk/guides/installing-deno), the runtime environment for workflow apps. If you have VSCode installed, the [VSCode Deno extension](https://marketplace.visualstudio.com/items?itemName=denoland.vscode-deno) will be installed.
47
39
48
40
<details>
49
41
<summary>Optional: Use an alias for the Slack CLI binary</summary>
@@ -63,9 +55,7 @@ You can also use the `-Alias` flag as described within **Optional: customize ins
63
55
<details>
64
56
<summary>Optional: customize installation using flags</summary>
65
57
66
-
There are several flags available to customize the installation. Since flags
67
-
cannot be passed to remote scripts, you must first download the installation
68
-
script to a local file:
58
+
There are several flags available to customize the installation. Since flags cannot be passed to remote scripts, you must first download the installation script to a local file:
<p><strong>Existing</strong> <code>slack</code> <strong>binary in path?</strong></p>
138
-
<p>If you have another CLI tool in your path called <code>slack</code>, we recommend renaming our slack binary to a different name before adding it to your path. See the <strong>Automated installation</strong> tab for more details.</p>
124
+
:::info[Existing `slack` binary in path?]
125
+
126
+
If you have another CLI tool in your path called `slack`, we recommend renaming our slack binary to a different name before adding it to your path. See the **Automated installation** tab for more details.
The Slack CLI allows you to interact with your apps via the command line. Using the main command `slack`, you can create, run, and deploy apps, as well as create triggers and query datastores.
9
9
10
-
:::info
11
-
12
-
Running `slack help` will display available commands in your terminal window.
10
+
:::info[Running `slack help` will display available commands in your terminal window.]
Copy file name to clipboardExpand all lines: docs/guides/setting-up-ci-cd-with-the-slack-cli.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -168,9 +168,7 @@ This also includes calling Deno's [task runner](https://deno.land/manual/tools/t
168
168
169
169
✨ **For more information about creating unit tests**, refer to [Testing custom functions](/deno-slack-sdk/guides/creating-custom-functions#testing).
170
170
171
-
:::info
172
-
173
-
If you've created your project by [cloning one of our sample apps](/deno-slack-sdk/guides/creating-an-app), note that the `.github` folder will not be included. You'll need to create it yourself, but you can use the handy dandy **Copy** button next to the code samples on this page to get started!
171
+
:::info[If you've created your project by [cloning one of our sample apps](/deno-slack-sdk/guides/creating-an-app), note that the `.github` folder will not be included. You'll need to create it yourself, but you can use the handy dandy **Copy** button next to the code samples on this page to get started!]
where `$HOME` is substituted for the full path, e.g. `C:\Users\<your_username>`.
34
34
35
-
:::warning
36
-
37
-
**As with installation, PowerShell is required for uninstallation of the Slack CLI from Windows machines.** An alternative shell will not work.
35
+
:::warning[As with installation, PowerShell is required for uninstallation of the Slack CLI from Windows machines; an alternative shell will not work.]
Copy file name to clipboardExpand all lines: docs/guides/using-slack-cli-with-bolt-frameworks.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,11 +4,11 @@ sidebar_label: Using with Bolt frameworks
4
4
5
5
# Using the Slack CLI with Bolt frameworks
6
6
7
-
You can use the Slack CLI to streamline development of apps using [Bolt for JavaScript](/tools.slack.dev/bolt-js) and [Bolt for Python](/tools.slack.dev/bolt-python).
7
+
You can use the Slack CLI to streamline development of apps using [Bolt for JavaScript](/bolt-js) and [Bolt for Python](/bolt-python).
8
8
9
-
:::info
9
+
:::info[Feeling adventurous?]
10
10
11
-
To create a Bolt app using features currently under development, refer to the [experiments](https://tools.slack.dev/slack-cli/reference/experiments) page.
11
+
To create a Bolt app using features currently under development, refer to the [experiments](/slack-cli/reference/experiments) page.
12
12
13
13
:::
14
14
@@ -34,9 +34,9 @@ You will then be prompted to choose between **Bolt for JavaScript** or **Bolt fo
34
34
35
35
Your app will be cloned from the respective [JavaScript](https://github.com/slack-samples/bolt-js-starter-template) or [Python](https://github.com/slack-samples/bolt-python-starter-template) project template on our Slack Platform Sample Code repository, and its project dependencies will be installed. Then, `cd` into your project folder.
36
36
37
-
:::info
37
+
:::info[For Bolt for Python projects, automatic project dependency installation is currently unsupported, and will need to be done manually.]
38
38
39
-
For Bolt for Python projects, automatic project dependency installation is currently unsupported, and will need to be done manually. For more information, refer to [Getting started with Bolt for Python](https://tools.slack.dev/bolt-python/getting-started).
39
+
For more information, refer to [Getting started with Bolt for Python](/bolt-python/getting-started).
0 commit comments