Commandsauth
ody auth jira
Configure Jira authentication credentials
Synopsis
ody auth jira [--profile <name>]Flags
| Flag | Alias | Type | Default | Description |
|---|---|---|---|---|
--profile | string | default | Named profile for storing credentials |
Behavior
- Prompts for a Jira email address.
- Prompts for a Jira API token.
- Validates both values are non-empty.
- Saves credentials under the selected profile in
$XDG_DATA_HOME/ody/auth.json. - Writes the credentials file with
0600permissions.
If either prompt is cancelled, no changes are written.
Examples
Store credentials in the default profile:
ody auth jiraStore credentials in a named profile:
ody auth jira --profile workRelated
ody auth-- Auth command overviewody auth list-- View configured profilesody auth github-- Configure GitHub credentials