Metadata-Version: 2.4
Name: jira-tempo-autolog
Version: 0.1.0
Summary: Cross-platform Jira Tempo autolog CLI based on git commits
Author: Alikhan Khassen
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: platformdirs>=4.2.0

# jira-tempo-autolog

Cross-platform CLI that logs Jira Tempo work from git commits.

## Install

### Recommended: pipx

```bash
pipx install jira-tempo-autolog
```

For local development:

```bash
pipx install .
```

## First-time setup

Run:

```bash
autolog init
```

It will prompt for:
- `JIRA_BASE_URL`
- `JIRA_API_TOKEN`

## Main commands

```bash
autolog              # run for today
autolog --week       # run for current week
autolog init         # interactive setup
autolog config path  # print config file path
autolog config show  # show config with token masked
autolog doctor       # basic config + git + Jira check
```

If config is missing and you run `autolog` interactively, it will offer to start setup.
In non-interactive environments, it fails with a message telling you to run `autolog init`.

## Config file location

Typical config locations:
- macOS: `~/Library/Application Support/jira-tempo-autolog/env`
- Linux: `~/.config/jira-tempo-autolog/env`
- Windows: `%APPDATA%\jira-tempo-autolog\env`

Example:

```env
JIRA_BASE_URL=https://your-company.atlassian.net
JIRA_API_TOKEN=your_api_token
```
