me
¶
Print the username and email address of the currently authenticated user:
Usage: croud me [-h] [--region REGION] [--output-fmt {table,wide,json,yaml}]
[--sudo]
{edit} ...
Optional Arguments¶
- --region, -r
Temporarily use the specified region that command will be run in.
- --output-fmt, --format, -o
Possible choices: table, wide, json, yaml
Change the formatting of the output.
- --sudo
Run the given command as superuser.
Default:
False
Sub-commands¶
edit¶
Edit your user data.
croud me edit [-h] --email EMAIL [--region REGION]
[--output-fmt {table,wide,json,yaml}] [--sudo]
Required Arguments¶
The new email address to use.
Optional Arguments¶
- --region, -r
Temporarily use the specified region that command will be run in.
- --output-fmt, --format, -o
Possible choices: table, wide, json, yaml
Change the formatting of the output.
- --sudo
Run the given command as superuser.
Default:
False
Example¶
sh$ croud me
+----------------+-----------------+---------+
| email | username | idp |
|----------------+-----------------|---------|
| me@example.com | User_1234567890 | azuread |
+----------------+-----------------+---------+
me edit
¶
Change your own email address:
Usage: croud me edit [-h] --email EMAIL [--region REGION]
[--output-fmt {table,wide,json,yaml}] [--sudo]
Required Arguments¶
The new email address to use.
Optional Arguments¶
- --region, -r
Temporarily use the specified region that command will be run in.
- --output-fmt, --format, -o
Possible choices: table, wide, json, yaml
Change the formatting of the output.
- --sudo
Run the given command as superuser.
Default:
False
Example¶
sh$ croud me edit --email new@crate.io
+---------+---------+-----------------------------------------------------------+
| success | status | message |
|---------+---------+-----------------------------------------------------------|
| True | pending | A confirmation email was sent to new@crate.io. Please |
| | | follow its instructions to verify your new email address. |
+---------+---------+-----------------------------------------------------------+