Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apps: add switch to command list #3

Merged
merged 1 commit into from
Apr 7, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/commands/apps/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export default class AppsCommand extends ControlBaseCommand {
'$ ably apps set-apns-p12',
'$ ably apps stats',
'$ ably apps channel-rules list',
'$ ably apps switch my-app',
]

async run(): Promise<void> {
Expand All @@ -24,7 +25,8 @@ export default class AppsCommand extends ControlBaseCommand {
this.log(' ably apps stats - Get app stats with optional live updates')
this.log(' ably apps channel-rules - Manage Ably channel rules (namespaces)')
this.log(' ably apps logs - Stream or retrieve app logs')
this.log(' ably apps switch - Switch to a different app')
this.log('')
this.log('Run `ably apps COMMAND --help` for more information on a command.')
}
}
}