lf user
User commands.
Usage
lf user [OPTIONS] COMMAND [ARGS]...Subcommands
| list | List all users as JSON or in a table. |
| add | Create/update a user with the provided email. |
| enable | Enable the user with the provided email. |
| disable | Disable the user with the provided email. |
| reset-password | Reset the password for the user with the provided email. |
lf user list
List all users as JSON or in a table.
Usage
lf user list [OPTIONS]Options
| Name | Type | Description | Default |
|---|---|---|---|
-j, --json |
boolean | If set, the output is printed to stdout as JSON. | False |
lf user add
Create/update a user with the provided email.
Usage
lf user add [OPTIONS]Options
| Name | Type | Description | Default |
|---|---|---|---|
--email |
text | A unique email for the user. Example: ‘johndoe@latticeflow.ai’. | |
--name |
text | Name of the user. Example: ‘John Doe’. | |
--roles |
text | Role(s) to assign to the user (comma-separated). Possible values are: ‘admin’, ‘member’, ‘viewer’. Example:‘admin,member’. |
lf user enable
Enable the user with the provided email.
Usage
lf user enable [OPTIONS]Options
| Name | Type | Description | Default |
|---|---|---|---|
--email |
text | Email of the user to be enabled. Example: ‘johndoe@latticeflow.ai’ |
lf user disable
Disable the user with the provided email.
Usage
lf user disable [OPTIONS]Options
| Name | Type | Description | Default |
|---|---|---|---|
--email |
text | Email of the user to be disabled. Example: ‘johndoe@latticeflow.ai’ |
lf user reset-password
Reset the password for the user with the provided email.
Usage
lf user reset-password [OPTIONS]Options
| Name | Type | Description | Default |
|---|---|---|---|
--email |
text | Email of the user whose password to reset. Example: ‘johndoe@latticeflow.ai’. |