Metadata-Version: 2.3
Name: poetry-plugin-taskipy2
Version: 1.1.0
Summary: Poetry plugin for taskipy2
License: MIT
Keywords: tasks,task runner,development,poetry,plugin
Author: Eugene Triguba
Author-email: hello@eugenetriguba
Requires-Python: >=3.7,<4.0
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Software Development :: Build Tools
Requires-Dist: poetry (>=1.4.2,<2.0.0) ; python_version >= "3.7" and python_version < "3.9"
Requires-Dist: poetry (>=2.0.0,<3.0.0) ; python_version >= "3.9" and python_version < "4.0"
Requires-Dist: taskipy2 (>=1.15.1,<2.0.0)
Project-URL: Repository, https://git.sr.ht/~eugenetriguba/poetry-plugin-taskipy2
Description-Content-Type: text/markdown

# Poetry plugin for taskipy2

> poetry-plugin-taskipy2 is a continuation fork of [poetry-plugin-taskipy](https://github.com/taskipy/poetry-plugin-taskipy).

This package is a plugin for the Poetry CLI that directly integrates
[taskipy2](https://git.sr.ht/~eugenetriguba/taskipy2) into it. With this plugin
installed, you may then use a `task` subcommand on the Poetry CLI to run your
regular taskipy tasks.

## Installation

There are multiple ways to install this plugin and the way you should install it
depends on how you've installed Poetry itself.

### With Poetry installed via the official installer

With the official installer, you can use the Poetry CLI itself to install the
plugin.

```
$ poetry self add poetry-plugin-taskipy2
```

### With Poetry installed via Pipx

If you installed Poetry via Pipx, you'll want to utilize the `inject` command.

```
$ pipx inject poetry poetry-plugin-taskipy2
```

### With Poetry installed via Pip

If you installed Poetry via Pip, you can install the plugin in that same
environment.

```
$ pip install poetry-plugin-taskipy2
```

## Usage

Once you've installed the taskipy poetry plugin, you'll now see a `task`
subcommand on the base `poetry` CLI.

```
$ poetry
...

Available commands:
    ...
    task               Run a taskipy task.
    ...
```


If we assume the following basic `pyproject.toml` file in the current directory
or a parent directory:

```toml
[tool.poetry]
name = "project"
version = "0.1.0"

[tool.taskipy.tasks]
test_echo = "echo 'test'"
```

We may then run:

```
$ poetry task test_echo
test
```

For more information, see the [taskipy2 documentation](https://git.sr.ht/~eugenetriguba/taskipy2).

