-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add organizations CRUD [CLI-189] (#325)
* Initial implementation of orgs CRUD * Update color example * Fix cerate and update commands * Add integration test * Fix tests * Add docs * Use makeOrganization * Remove unused mockgen comments
- Loading branch information
Showing
26 changed files
with
925 additions
and
22 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,38 @@ | ||
--- | ||
layout: default | ||
--- | ||
## auth0 orgs | ||
|
||
Manage resources for organizations | ||
|
||
### Synopsis | ||
|
||
Manage resources for organizations. | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for orgs | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--debug Enable debug mode. | ||
--force Skip confirmation. | ||
--format string Command output format. Options: json. | ||
--no-color Disable colors. | ||
--no-input Disable interactivity. | ||
--tenant string Specific tenant to use. | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [auth0](/auth0-cli/) - Supercharge your development workflow. | ||
* [auth0 orgs create](auth0_orgs_create.md) - Create a new organization | ||
* [auth0 orgs delete](auth0_orgs_delete.md) - Delete an organization | ||
* [auth0 orgs list](auth0_orgs_list.md) - List your organizations | ||
* [auth0 orgs open](auth0_orgs_open.md) - Open organization settings page in the Auth0 Dashboard | ||
* [auth0 orgs show](auth0_orgs_show.md) - Show an organization | ||
* [auth0 orgs update](auth0_orgs_update.md) - Update an organization | ||
|
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,52 @@ | ||
--- | ||
layout: default | ||
--- | ||
## auth0 orgs create | ||
|
||
Create a new organization | ||
|
||
### Synopsis | ||
|
||
Create a new organization. | ||
|
||
``` | ||
auth0 orgs create [flags] | ||
``` | ||
|
||
### Examples | ||
|
||
``` | ||
auth0 orgs create | ||
auth0 orgs create --name myorganization | ||
auth0 orgs create --n myorganization --display "My Organization" | ||
auth0 orgs create --n myorganization -d "My Organization" -l "https://example.com/logo.png" -a "#635DFF" -b "#2A2E35" | ||
auth0 orgs create --n myorganization -d "My Organization" -m "KEY=value" -m "OTHER_KEY=other_value" | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-a, --accent string Accent color used to customize the login pages. | ||
-b, --background string Background color used to customize the login pages. | ||
-d, --display string Friendly name of the organization. | ||
-h, --help help for create | ||
-l, --logo string URL of the logo to be displayed on the login page. | ||
-m, --metadata stringToString Metadata associated with the organization (max 255 chars). Maximum of 10 metadata properties allowed. (default []) | ||
-n, --name string Name of the organization. | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--debug Enable debug mode. | ||
--force Skip confirmation. | ||
--format string Command output format. Options: json. | ||
--no-color Disable colors. | ||
--no-input Disable interactivity. | ||
--tenant string Specific tenant to use. | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [auth0 orgs](auth0_orgs.md) - Manage resources for organizations | ||
|
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,43 @@ | ||
--- | ||
layout: default | ||
--- | ||
## auth0 orgs delete | ||
|
||
Delete an organization | ||
|
||
### Synopsis | ||
|
||
Delete an organization. | ||
|
||
``` | ||
auth0 orgs delete [flags] | ||
``` | ||
|
||
### Examples | ||
|
||
``` | ||
auth0 orgs delete | ||
auth0 orgs delete <id> | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for delete | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--debug Enable debug mode. | ||
--force Skip confirmation. | ||
--format string Command output format. Options: json. | ||
--no-color Disable colors. | ||
--no-input Disable interactivity. | ||
--tenant string Specific tenant to use. | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [auth0 orgs](auth0_orgs.md) - Manage resources for organizations | ||
|
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,44 @@ | ||
--- | ||
layout: default | ||
--- | ||
## auth0 orgs list | ||
|
||
List your organizations | ||
|
||
### Synopsis | ||
|
||
List your existing organizations. To create one try: | ||
auth0 orgs create | ||
|
||
``` | ||
auth0 orgs list [flags] | ||
``` | ||
|
||
### Examples | ||
|
||
``` | ||
auth0 orgs list | ||
auth0 orgs ls | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for list | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--debug Enable debug mode. | ||
--force Skip confirmation. | ||
--format string Command output format. Options: json. | ||
--no-color Disable colors. | ||
--no-input Disable interactivity. | ||
--tenant string Specific tenant to use. | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [auth0 orgs](auth0_orgs.md) - Manage resources for organizations | ||
|
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,42 @@ | ||
--- | ||
layout: default | ||
--- | ||
## auth0 orgs open | ||
|
||
Open organization settings page in the Auth0 Dashboard | ||
|
||
### Synopsis | ||
|
||
Open organization settings page in the Auth0 Dashboard. | ||
|
||
``` | ||
auth0 orgs open [flags] | ||
``` | ||
|
||
### Examples | ||
|
||
``` | ||
auth0 orgs open <id> | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for open | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--debug Enable debug mode. | ||
--force Skip confirmation. | ||
--format string Command output format. Options: json. | ||
--no-color Disable colors. | ||
--no-input Disable interactivity. | ||
--tenant string Specific tenant to use. | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [auth0 orgs](auth0_orgs.md) - Manage resources for organizations | ||
|
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,43 @@ | ||
--- | ||
layout: default | ||
--- | ||
## auth0 orgs show | ||
|
||
Show an organization | ||
|
||
### Synopsis | ||
|
||
Show an organization. | ||
|
||
``` | ||
auth0 orgs show [flags] | ||
``` | ||
|
||
### Examples | ||
|
||
``` | ||
auth0 orgs show | ||
auth0 orgs show <id> | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for show | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--debug Enable debug mode. | ||
--force Skip confirmation. | ||
--format string Command output format. Options: json. | ||
--no-color Disable colors. | ||
--no-input Disable interactivity. | ||
--tenant string Specific tenant to use. | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [auth0 orgs](auth0_orgs.md) - Manage resources for organizations | ||
|
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,50 @@ | ||
--- | ||
layout: default | ||
--- | ||
## auth0 orgs update | ||
|
||
Update an organization | ||
|
||
### Synopsis | ||
|
||
Update an organization. | ||
|
||
``` | ||
auth0 orgs update [flags] | ||
``` | ||
|
||
### Examples | ||
|
||
``` | ||
auth0 orgs update <id> | ||
auth0 orgs update <id> --display "My Organization" | ||
auth0 orgs update <id> -d "My Organization" -l "https://example.com/logo.png" -a "#635DFF" -b "#2A2E35" | ||
auth0 orgs update <id> -d "My Organization" -m "KEY=value" -m "OTHER_KEY=other_value" | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-a, --accent string Accent color used to customize the login pages. | ||
-b, --background string Background color used to customize the login pages. | ||
-d, --display string Friendly name of the organization. | ||
-h, --help help for update | ||
-l, --logo string URL of the logo to be displayed on the login page. | ||
-m, --metadata stringToString Metadata associated with the organization (max 255 chars). Maximum of 10 metadata properties allowed. (default []) | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--debug Enable debug mode. | ||
--force Skip confirmation. | ||
--format string Command output format. Options: json. | ||
--no-color Disable colors. | ||
--no-input Disable interactivity. | ||
--tenant string Specific tenant to use. | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [auth0 orgs](auth0_orgs.md) - Manage resources for organizations | ||
|
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
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
Oops, something went wrong.