Use the ably push channels list-channels command to list channels with push subscriptions.
Synopsis
ably push channels list-channels [options]Options
--limit
The maximum number of channels to retrieve. Defaults to 100.
--json
Output results as compact JSON. Mutually exclusive with --pretty-json.
--pretty-json
Output results in formatted JSON. Mutually exclusive with --json.
--verbose | -v
Enable verbose logging. Can be combined with --json or --pretty-json.
Examples
List channels with push subscriptions:
ably push channels list-channelsList push channels with a limit:
ably push channels list-channels --limit 50List push channels in JSON format:
ably push channels list-channels --jsonSee also
- Push — Explore all
ably pushcommands. - CLI reference — Full list of available commands.