-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Webhook / Product preferences / Invitations commands, custom scan ali…
…as patterns (#24) * Webhook / Product preferences / Invitations commands, custom scan alias patterns * Update reference docs * Fixup tests * Update integ.ps1 * Update integ.ps1 * Update Webhook.cs * Update integ.ps1 * Fixup custom alias matcher * Print current patterns in verbose log
- Loading branch information
Showing
50 changed files
with
1,541 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# configcat member lsio | ||
List all pending Invitations that belongs to an Organization | ||
## Usage | ||
``` | ||
configcat member lsio [options] | ||
``` | ||
## Example | ||
``` | ||
configcat member lsio -o <organization-id> | ||
``` | ||
## Options | ||
| Option | Description | | ||
| ------ | ----------- | | ||
| `--organization-id`, `-o` | Show only an Organization's Members | | ||
| `--json` | Format the output in JSON | | ||
| `--verbose`, `-v`, `/v` | Print detailed execution information | | ||
| `--non-interactive`, `-ni` | Turn off progress rendering and interactive features | | ||
| `-h`, `/h`, `--help`, `-?`, `/?` | Show help and usage information | | ||
## Parent Command | ||
| Command | Description | | ||
| ------ | ----------- | | ||
| [configcat member](configcat-member.md) | Manage Members | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# configcat member lsip | ||
List all pending Invitations that belongs to a Product | ||
## Usage | ||
``` | ||
configcat member lsip [options] | ||
``` | ||
## Example | ||
``` | ||
configcat member lsip -p <product-id> | ||
``` | ||
## Options | ||
| Option | Description | | ||
| ------ | ----------- | | ||
| `--product-id`, `-p` | Show only a Product's Members | | ||
| `--json` | Format the output in JSON | | ||
| `--verbose`, `-v`, `/v` | Print detailed execution information | | ||
| `--non-interactive`, `-ni` | Turn off progress rendering and interactive features | | ||
| `-h`, `/h`, `--help`, `-?`, `/?` | Show help and usage information | | ||
## Parent Command | ||
| Command | Description | | ||
| ------ | ----------- | | ||
| [configcat member](configcat-member.md) | Manage Members | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# configcat product preferences show | ||
Show a Product's preferences | ||
## Aliases | ||
`sh`, `print` | ||
## Usage | ||
``` | ||
configcat product preferences show [options] | ||
``` | ||
## Example | ||
``` | ||
configcat product preferences show -i <product-id> | ||
``` | ||
## Options | ||
| Option | Description | | ||
| ------ | ----------- | | ||
| `--product-id`, `-i` | ID of the Product | | ||
| `--json` | Format the output in JSON | | ||
| `--verbose`, `-v`, `/v` | Print detailed execution information | | ||
| `--non-interactive`, `-ni` | Turn off progress rendering and interactive features | | ||
| `-h`, `/h`, `--help`, `-?`, `/?` | Show help and usage information | | ||
## Parent Command | ||
| Command | Description | | ||
| ------ | ----------- | | ||
| [configcat product preferences](configcat-product-preferences.md) | Manage Product preferences | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# configcat product preferences update env | ||
Update per-environment required reason | ||
## Aliases | ||
`e` | ||
## Usage | ||
``` | ||
configcat product preferences update env [options] | ||
``` | ||
## Example | ||
``` | ||
configcat product preferences update env -i <product-id> -ei <environment-id>:true | ||
``` | ||
## Options | ||
| Option | Description | | ||
| ------ | ----------- | | ||
| `--product-id`, `-i` | ID of the Product | | ||
| `--environments`, `-ei` | Format: `<environment-id>:<reason-required>`. | | ||
| `--verbose`, `-v`, `/v` | Print detailed execution information | | ||
| `--non-interactive`, `-ni` | Turn off progress rendering and interactive features | | ||
| `-h`, `/h`, `--help`, `-?`, `/?` | Show help and usage information | | ||
## Parent Command | ||
| Command | Description | | ||
| ------ | ----------- | | ||
| [configcat product preferences update](configcat-product-preferences-update.md) | Update a Product's preferences | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# configcat product preferences update | ||
Update a Product's preferences | ||
## Aliases | ||
`up` | ||
## Usage | ||
``` | ||
configcat product preferences update [command] [options] | ||
``` | ||
## Example | ||
``` | ||
configcat product preferences update -i <product-id> --reason-required true | ||
``` | ||
## Options | ||
| Option | Description | | ||
| ------ | ----------- | | ||
| `--product-id`, `-i` | ID of the Product | | ||
| `--reason-required`, `-rr` | Indicates that a mandatory note is required for saving and publishing | | ||
| `--key-gen-mode`, `-kg` | Determines the Feature Flag key generation mode<br/><br/>*Possible values*: `camelCase`, `kebabCase`, `lowerCase`, `pascalCase`, `upperCase` | | ||
| `--show-variation-id`, `-vi` | Indicates whether a variation ID's must be shown on the ConfigCat Dashboard | | ||
| `--mandatory-setting-hint`, `-msh` | Indicates whether Feature flags and Settings must have a hint | | ||
| `--verbose`, `-v`, `/v` | Print detailed execution information | | ||
| `--non-interactive`, `-ni` | Turn off progress rendering and interactive features | | ||
| `-h`, `/h`, `--help`, `-?`, `/?` | Show help and usage information | | ||
## Parent Command | ||
| Command | Description | | ||
| ------ | ----------- | | ||
| [configcat product preferences](configcat-product-preferences.md) | Manage Product preferences | | ||
## Subcommands | ||
| Command | Description | | ||
| ------ | ----------- | | ||
| [configcat product preferences update env](configcat-product-preferences-update-env.md) | Update per-environment required reason | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# configcat product preferences | ||
Manage Product preferences | ||
## Aliases | ||
`pr` | ||
## Usage | ||
``` | ||
configcat product preferences [command] | ||
``` | ||
## Options | ||
| Option | Description | | ||
| ------ | ----------- | | ||
| `--verbose`, `-v`, `/v` | Print detailed execution information | | ||
| `--non-interactive`, `-ni` | Turn off progress rendering and interactive features | | ||
| `-h`, `/h`, `--help`, `-?`, `/?` | Show help and usage information | | ||
## Parent Command | ||
| Command | Description | | ||
| ------ | ----------- | | ||
| [configcat product](configcat-product.md) | Manage Products | | ||
## Subcommands | ||
| Command | Description | | ||
| ------ | ----------- | | ||
| [configcat product preferences show](configcat-product-preferences-show.md) | Show a Product's preferences | | ||
| [configcat product preferences update](configcat-product-preferences-update.md) | Update a Product's preferences | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# configcat webhook create | ||
Create a new Webhook | ||
## Aliases | ||
`cr` | ||
## Usage | ||
``` | ||
configcat webhook create [options] | ||
``` | ||
## Example | ||
``` | ||
configcat webhook create -c <config-id> -e <environment-id> -u "https://example.com/hook" -m get | ||
``` | ||
## Options | ||
| Option | Description | | ||
| ------ | ----------- | | ||
| `--config-id`, `-c` | ID of the Config | | ||
| `--environment-id`, `-e` | ID of the Environment | | ||
| `--url`, `-u` | The Webhook's URL | | ||
| `--http-method`, `-m` | The Webhook's HTTP method<br/><br/>*Possible values*: `get`, `post` | | ||
| `--content`, `-co` | The Webhook's HTTP body | | ||
| `--verbose`, `-v`, `/v` | Print detailed execution information | | ||
| `--non-interactive`, `-ni` | Turn off progress rendering and interactive features | | ||
| `-h`, `/h`, `--help`, `-?`, `/?` | Show help and usage information | | ||
## Parent Command | ||
| Command | Description | | ||
| ------ | ----------- | | ||
| [configcat webhook](configcat-webhook.md) | Manage Webhooks | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# configcat webhook headers add | ||
Add new header | ||
## Aliases | ||
`a` | ||
## Usage | ||
``` | ||
configcat webhook headers add [options] | ||
``` | ||
## Example | ||
``` | ||
configcat webhook headers add -i <webhook-id> -k Authorization -val "Bearer ..." --secure | ||
``` | ||
## Options | ||
| Option | Description | | ||
| ------ | ----------- | | ||
| `--webhook-id`, `-i` | ID of the Webhook to update | | ||
| `--key`, `-k` | The Webhook header's key | | ||
| `--value`, `-val` | The Webhook header's value | | ||
| `--secure`, `-s` | If it's true, the Webhook header's value will kept as a secret | | ||
| `--verbose`, `-v`, `/v` | Print detailed execution information | | ||
| `--non-interactive`, `-ni` | Turn off progress rendering and interactive features | | ||
| `-h`, `/h`, `--help`, `-?`, `/?` | Show help and usage information | | ||
## Parent Command | ||
| Command | Description | | ||
| ------ | ----------- | | ||
| [configcat webhook headers](configcat-webhook-headers.md) | Manage Webhook headers | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# configcat webhook headers rm | ||
Remove header | ||
## Usage | ||
``` | ||
configcat webhook headers rm [options] | ||
``` | ||
## Example | ||
``` | ||
configcat webhook headers rm -i <webhook-id> -k Authorization | ||
``` | ||
## Options | ||
| Option | Description | | ||
| ------ | ----------- | | ||
| `--webhook-id`, `-i` | ID of the Webhook to update | | ||
| `--key`, `-k` | The Webhook header's key | | ||
| `--verbose`, `-v`, `/v` | Print detailed execution information | | ||
| `--non-interactive`, `-ni` | Turn off progress rendering and interactive features | | ||
| `-h`, `/h`, `--help`, `-?`, `/?` | Show help and usage information | | ||
## Parent Command | ||
| Command | Description | | ||
| ------ | ----------- | | ||
| [configcat webhook headers](configcat-webhook-headers.md) | Manage Webhook headers | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# configcat webhook headers | ||
Manage Webhook headers | ||
## Aliases | ||
`he` | ||
## Usage | ||
``` | ||
configcat webhook headers [command] | ||
``` | ||
## Options | ||
| Option | Description | | ||
| ------ | ----------- | | ||
| `--verbose`, `-v`, `/v` | Print detailed execution information | | ||
| `--non-interactive`, `-ni` | Turn off progress rendering and interactive features | | ||
| `-h`, `/h`, `--help`, `-?`, `/?` | Show help and usage information | | ||
## Parent Command | ||
| Command | Description | | ||
| ------ | ----------- | | ||
| [configcat webhook](configcat-webhook.md) | Manage Webhooks | | ||
## Subcommands | ||
| Command | Description | | ||
| ------ | ----------- | | ||
| [configcat webhook headers add](configcat-webhook-headers-add.md) | Add new header | | ||
| [configcat webhook headers rm](configcat-webhook-headers-rm.md) | Remove header | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# configcat webhook ls | ||
List all Webhooks that belongs to the configured user | ||
## Usage | ||
``` | ||
configcat webhook ls [options] | ||
``` | ||
## Example | ||
``` | ||
configcat webhook ls | ||
``` | ||
## Options | ||
| Option | Description | | ||
| ------ | ----------- | | ||
| `--product-id`, `-p` | Show only a Product's Webhooks | | ||
| `--json` | Format the output in JSON | | ||
| `--verbose`, `-v`, `/v` | Print detailed execution information | | ||
| `--non-interactive`, `-ni` | Turn off progress rendering and interactive features | | ||
| `-h`, `/h`, `--help`, `-?`, `/?` | Show help and usage information | | ||
## Parent Command | ||
| Command | Description | | ||
| ------ | ----------- | | ||
| [configcat webhook](configcat-webhook.md) | Manage Webhooks | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# configcat webhook rm | ||
Remove a Webhook identified by the `--webhook-id` option | ||
## Usage | ||
``` | ||
configcat webhook rm [options] | ||
``` | ||
## Example | ||
``` | ||
configcat webhook rm -i <webhook-id> | ||
``` | ||
## Options | ||
| Option | Description | | ||
| ------ | ----------- | | ||
| `--webhook-id`, `-i` | ID of the Webhook to delete | | ||
| `--verbose`, `-v`, `/v` | Print detailed execution information | | ||
| `--non-interactive`, `-ni` | Turn off progress rendering and interactive features | | ||
| `-h`, `/h`, `--help`, `-?`, `/?` | Show help and usage information | | ||
## Parent Command | ||
| Command | Description | | ||
| ------ | ----------- | | ||
| [configcat webhook](configcat-webhook.md) | Manage Webhooks | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# configcat webhook show | ||
Print a Webhook identified by the `--webhook-id` option | ||
## Aliases | ||
`sh`, `print` | ||
## Usage | ||
``` | ||
configcat webhook show [options] | ||
``` | ||
## Example | ||
``` | ||
configcat webhook sh -i <webhook-id> | ||
``` | ||
## Options | ||
| Option | Description | | ||
| ------ | ----------- | | ||
| `--webhook-id`, `-i` | ID of the Webhook | | ||
| `--verbose`, `-v`, `/v` | Print detailed execution information | | ||
| `--non-interactive`, `-ni` | Turn off progress rendering and interactive features | | ||
| `-h`, `/h`, `--help`, `-?`, `/?` | Show help and usage information | | ||
## Parent Command | ||
| Command | Description | | ||
| ------ | ----------- | | ||
| [configcat webhook](configcat-webhook.md) | Manage Webhooks | |
Oops, something went wrong.