Skip to content

Login

The auth login command authenticates with EasyTask and stores credentials locally for subsequent CLI commands.

Parameters

Parameter Description
--username, -u Username (prompted if omitted).
--password, -p Password (prompted if omitted).
--api-url API base URL (env: EASYTASK_API_URL).

🖥️ Basic Usage

easytask auth login -h
 Usage: easytask auth login [OPTIONS]

 Login to EasyTask and store credentials.

╭─ Options ───────────────────────────────────────────────────────────────────╮
│ --username   -u      TEXT  Username (prompted if omitted)                   │
│ --password   -p      TEXT  Password (prompted if omitted)                   │
│ --api-url          TEXT  API base URL                                       │
│ --help       -h            Show this message and exit.                      │
╰─────────────────────────────────────────────────────────────────────────────╯

Example

easytask auth login -u admin -p mypassword
Logged in as admin
Instance 'default' selected.

Example — Interactive Login

easytask auth login
Username: admin
Password: ****
Logged in as admin
Instance 'default' selected.

Example — Custom API URL

easytask auth login -u admin -p mypassword --api-url https://easytask.example.com/api/v1

⏭️ Next Steps