jirun 0.13.0

A Cli Generating JIRA sub-tasks from a template with a specified parent
Documentation
# ๐Ÿ› ๏ธ Jirun

> Generate JIRA sub-tasks from pre-defined templates โ€” fast, local, and customizable.

## โœจ Features

- ๐Ÿ“ Init config template files: `.jirun.toml` and `.env`
- ๐Ÿ”— Create defined sub-tasks with prefilled field values
- ๐Ÿงช Run with dry-run mode
- ๐ŸŒ Support global or local config
- ๐Ÿ” Detect and exclude duplicate existing sub-task (simply by summary/title)

## ๐Ÿš€ Usage

```sh
Usage: jirun <COMMAND>

Commands:
  init      Create .jirun.toml and .env (defaults to the local directory)
  new       Create sub-tasks from [sub_tasks.new_tasks] in .jirun.toml
  template  Create sub-tasks from [sub_tasks.template_tasks]
  help      Print this message or the help of the given subcommand(s)

Options:
  -h, --help     Print help
  -V, --version  Print version

๐Ÿ“˜ Examples:
  1. jirun help init
     Help menu on initializing jirun's configuration files.

  2. jirun init --global
     Create config files in the global directory.

  3. jirun template --parent PROJ-123
     Use [sub_tasks.template_tasks] to create sub-tasks under PROJ-123

  4. jirun new --parent PROJ-123 --assignee alice
     Use [sub_tasks.new_tasks], overriding assignee with 'alice'

  5. jirun template -p PROJ-123 --dry-run
     Show request payloads without sending to JIRA
```

## ๐Ÿ“ฆ Install

```sh
cargo install jirun
```

## ๐Ÿงฐ Configuration

Run `.jirun init --global` to generate the config template files.

`.jirun.toml`:

```toml
[server]
url = "https://yourcompany.atlassian.net"

[prefill]
labels = ["cli", "auto"]
assignee = "john.doe"

[sub_tasks]
template_tasks = """
Design API schema
Implement service logic
Write integration tests
"""

new_tasks = """
Fix login bug
Improve error messages
Document usage
"""
```

`.env`:

```env
JIRA_TOKEN=your-api-token-here
```

## ๐Ÿ“„ License

MIT