From ed38f064dac240181916f37deb5aab65ba0973c5 Mon Sep 17 00:00:00 2001 From: Eden Zimbelman Date: Fri, 11 Sep 2026 14:12:58 -0700 Subject: [PATCH] fix: remove the slack sync alias in favor of slack manifest sync Drop the top-level slack sync shortcut from the alias map. The slack manifest sync command remains the single way to sync a manifest between the local project and app settings. --- cmd/root.go | 1 - docs/reference/commands/slack.md | 1 - docs/reference/commands/slack_sync.md | 51 --------------------------- 3 files changed, 53 deletions(-) delete mode 100644 docs/reference/commands/slack_sync.md diff --git a/cmd/root.go b/cmd/root.go index d88d851b..eeb7eb4f 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -82,7 +82,6 @@ var AliasMap = map[string]*AliasInfo{ "logout": {CommandFactory: auth.NewLogoutCommand, CanonicalName: "auth logout", ParentName: "auth"}, "run": {CommandFactory: platform.NewRunCommand, CanonicalName: "platform run", ParentName: "platform"}, "samples": {CommandFactory: project.NewSamplesCommand, CanonicalName: "project samples", ParentName: "project"}, - "sync": {CommandFactory: manifest.NewSyncCommand, CanonicalName: "manifest sync", ParentName: "manifest"}, "uninstall": {CommandFactory: app.NewUninstallCommand, CanonicalName: "app uninstall", ParentName: "app"}, } var processName = cmdutil.GetProcessName() diff --git a/docs/reference/commands/slack.md b/docs/reference/commands/slack.md index 1505ef89..551e9fcd 100644 --- a/docs/reference/commands/slack.md +++ b/docs/reference/commands/slack.md @@ -68,7 +68,6 @@ $ slack docs # Open Slack developer docs * [slack run](/tools/slack-cli/reference/commands/slack_run/) - Start a local server to develop and run the app locally * [slack samples](/tools/slack-cli/reference/commands/slack_samples/) - List available sample apps * [slack sandbox](/tools/slack-cli/reference/commands/slack_sandbox/) - Manage developer sandboxes -* [slack sync](/tools/slack-cli/reference/commands/slack_sync/) - Sync the app manifest between project and app settings * [slack trigger](/tools/slack-cli/reference/commands/slack_trigger/) - List details of existing triggers * [slack uninstall](/tools/slack-cli/reference/commands/slack_uninstall/) - Uninstall the app from a team * [slack upgrade](/tools/slack-cli/reference/commands/slack_upgrade/) - Checks for available updates to the CLI or SDK diff --git a/docs/reference/commands/slack_sync.md b/docs/reference/commands/slack_sync.md deleted file mode 100644 index 10aabf77..00000000 --- a/docs/reference/commands/slack_sync.md +++ /dev/null @@ -1,51 +0,0 @@ -# `slack sync` - -Sync the app manifest between project and app settings - -## Description - -Compare the local project manifest with app settings, resolve differences, and sync both to the same state. - -``` -slack sync [flags] -``` - -## Flags - -``` - -h, --help help for sync - --manifest-source string resolve manifest differences using this source (local or remote) -``` - -## 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 - -``` -# Sync project manifest with app settings -$ slack manifest sync - -# Push project manifest to app settings without prompting -$ slack manifest sync --manifest-source=local - -# Pull app settings to project manifest without prompting -$ slack manifest sync --manifest-source=remote -``` - -## See also - -* [slack](/tools/slack-cli/reference/commands/slack/) - Slack command-line tool -