Release: Slack CLI v3.14.0
Version 3.14.0 of the developer tools for the Slack platform has landed!
- The
slack createcommand now prompts you for a custom app name if the randomly generated default isn't your thing. This prompt appears before scaffolding a new project from a template, and when making new project directories with your custom app name, we now replace spaces with a dash (instead of removing spaces altogether) to make navigation a bit better. - The
slack createcommand now updates the app name in thepackage.jsonandpyproject.tomlproject files. - We've updated the
slack createandslack initcommands to support creating a Python virtual environment (.venv) when it doesn't exist, and installing the project's dependencies from therequirements.txtandpyproject.tomlproject files. - When running Slack CLI commands in a Bolt Python project, the Slack CLI will attempt to automatically activate the Python virtual environment (.venv). This allows commands that use the
slack-cli-hooksPython package to run safely and successfully, even when the terminal system doesn't have the virtual environment activated. - We've added a
--subdirflag to theslack createcommand for extracting a subdirectory from a template repository as the project root. This supports monorepo-style templates where multiple apps live in subdirectories (e.g.,slack create my-app -t org/monorepo --subdir apps/my-app). - The
slack docscommand opens the slack developer docs site, and you can now use the--searchflag to open the docs search page with the provided query. - We fixed a bug and now avoid infinite loops when searching for the root project
.slackdirectory for projects existing on drives other than theC:drive on Windows. - We fixed a bug and now check whether an installed
gitcommand exists on Windows.