users commands¶
Create, update and delete the local MuseFlow user. These commands never use MUSEFLOW_CLI_DEFAULT_EMAIL: they always
name the account. All other commands identify the user with --email, or with MUSEFLOW_CLI_DEFAULT_EMAIL when it
is omitted.
users create¶
Creates a user account.
| Option | Default | Description |
|---|---|---|
--email |
required | User email address. |
--password |
prompted | User password. When omitted, it is prompted for with hidden input and a confirmation. |
Example
Output. User user@example.com created successfully!. If the email is already registered, the command
exits with an error.
Tip
Prefer the interactive prompt over --password: a password passed as an argument ends up in the shell
history.
users update¶
Changes the email and/or the password of an existing user.
| Argument / option | Default | Description |
|---|---|---|
user_id |
required | ID (UUID) of the user to update. |
--email |
unchanged | New email address. |
--password |
unchanged | New password. |
Example
users delete¶
Deletes a user account and all of its data: tracks, playlists, taste profiles, blacklist, provider tokens and LLM usage. Asks for confirmation first.
| Option | Default | Description |
|---|---|---|
--email |
required | User email address. |
--yes, -y |
off | Skip the confirmation prompt. |
Example
Output. User user@example.com deleted.. If the email is unknown, the command exits with an error.
Warning
This cannot be undone, and it only touches the local database: the playlists already on Spotify stay there, and MuseFlow stays authorized on the Spotify account until access is removed from the Spotify settings.
Next step¶
Connect the user to Spotify with provider connect.