This repository has been archived by the owner on May 16, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: update examples and test all of them
- Loading branch information
1 parent
a57ab82
commit f1c8b6f
Showing
10 changed files
with
14 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,9 +14,9 @@ import ( | |
|
||
// addUserCmd represents the addUser command | ||
var addUserCmd = &cobra.Command{ | ||
Use: "addUser", | ||
Aliases: []string{"add-user", "add"}, | ||
Example: `kamanda auth addUser --email [email protected] --password 1234 --custom-claims "admin=true" --custom-claims "key:value"`, | ||
Use: "add", | ||
Aliases: []string{"add-user", "addUsers"}, | ||
Example: `kamanda users add --email [email protected] --password 123456 --custom-claims "admin=true" --custom-claims "key=value"`, | ||
Short: "Add a new Firebase Email/Password user (Accepts Custom Claims)", | ||
Long: `Creates a new Firebase User (Email/Password). Both the Email and the Password are required. | ||
|
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 |
---|---|---|
|
@@ -19,7 +19,7 @@ var byEmailCmd = &cobra.Command{ | |
Use: "byEmail", | ||
Aliases: []string{"email", "by-email"}, | ||
Short: "Find a Firebase Auth user by email address", | ||
Example: `kamanda auth find by-email [email protected]`, | ||
Example: `kamanda users find by-email [email protected]`, | ||
Run: func(cmd *cobra.Command, args []string) { | ||
output, err := cmd.Flags().GetString("output") | ||
if err != nil { | ||
|
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
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