Sources
Commands for managing sources in the Knock CLI.
Source commands enable you to view the sources in your Knock account from the CLI.
knock source list [flags]
#Display all sources for an environment. Use an --environment flag to specify the target environment; if omitted, the Knock CLI uses the account's default environment.
Flags
The environment to use. When omitted, the account's default environment is used.
The total number to fetch per page.
Fetches all entries after this cursor.
Fetches all entries before this cursor.
Format output as json.
knock source get <source_key> [flags]
#Display a single source from an environment, using its source key.
Use an --environment flag to specify the target environment; if omitted, the Knock CLI uses the account's default environment.
Flags
The environment to use. When omitted, the account's default environment is used.
Format output as json.