Metadata-Version: 2.5
Name: paracord
Version: 0.0.10
Summary: A modern CLI tool for Paracord projects - wraps copier, uv, and rav into a unified developer experience
Project-URL: Homepage, https://github.com/getparacord/paracord
Project-URL: Repository, https://github.com/getparacord/paracord
Project-URL: Issues, https://github.com/getparacord/paracord/issues
Author-email: Justin Mitchel <getparacord@gmail.com>
Maintainer-email: jmitchel3 <getparacord@gmail.com>
License-Expression: MIT
Keywords: cli,copier,paracord,project-template,rav,uv
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Build Tools
Requires-Python: >=3.12
Requires-Dist: copier>=9.0.0
Requires-Dist: httpx>=0.25.0
Requires-Dist: keyring>=24.0.0
Requires-Dist: pyyaml>=6.0
Requires-Dist: rich>=13.0.0
Requires-Dist: tomli-w>=1.0.0
Requires-Dist: typer>=0.9.0
Provides-Extra: console
Requires-Dist: fastapi>=0.104.0; extra == 'console'
Requires-Dist: jinja2>=3.1.0; extra == 'console'
Requires-Dist: uvicorn>=0.24.0; extra == 'console'
Description-Content-Type: text/markdown

# Paracord CLI

A modern, fast CLI tool that wraps copier, uv, and rav into a unified developer experience for Paracord projects.

## Installation

```bash
uv tool install paracord
```

Or run directly without installing:

```bash
uvx paracord init my-project
```

## Usage

### Create a new project

```bash
paracord init my-project
# or
pc init my-project
```

### Run tasks

Inside a Paracord project:

```bash
# List available tasks
paracord run

# Run a specific task
paracord run dev
```

### Update from template

```bash
paracord update
```

### Check for updates

```bash
paracord check
```

### Link a folder to a project

Dash addresses projects as `<account>/<project>`, where the account is a user or
organization handle. Link a folder (and everything under it) to one:

```bash
pc project link acme/website            # current folder
pc project link acme/website --path ~/code/website
pc project show                         # nearest linked folder, like git
pc project show --json
pc project unlink
```

The account handle is checked on Dash when you are logged in and Dash is
reachable; otherwise (or with `--offline`) the link is saved unverified. The
project itself is not checked yet: Dash has no projects API, so `--no-verify` is
the default. When the account is an organization, the folder's organization
mapping is set too (to an organization this machine is logged in to or has seen
in `pc org list`), so `pc org` and other readers keep working. Logging out clears
organization mappings but keeps project links; run `pc project link` again after
logging back in to restore the organization.

Links live in `~/.paracord/config` under `path_projects`, a map of absolute
folder path to `<account>/<project>`. `pc org set` still works but is
deprecated in favour of `pc project link`.

## Commands

| Command | Description |
|---------|-------------|
| `paracord init [project-name]` | Create a new Paracord project |
| `paracord run [task]` | Run a rav task (or list tasks if none specified) |
| `paracord update` | Update project from upstream template |
| `paracord check` | Check for template updates |
| `paracord project link <account>/<project>` | Link a folder to a Dash project |
| `paracord project show [--json]` | Show the project linked to this folder |
| `paracord project unlink` | Remove the nearest project link |

## Aliases

Both `paracord` and `pc` are available as CLI commands.

## License

MIT
