Poetry plugin for taskipy
Project description
Poetry plugin for taskipy
This package is a plugin for the Poetry CLI that directly integrates taskipy
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-taskipy
With Poetry installed via Pipx
If you installed Poetry via Pipx, you'll want to utilize the inject
command.
$ pipx inject poetry poetry-plugin-taskipy
With Poetry installed via Pip
If you installed Poetry via Pip, you can install the plugin in that same environment.
$ pip install poetry-plugin-taskipy
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:
[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 taskipy documentation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for poetry_plugin_taskipy-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80e1552c9be7729d7c36f78fb97fd76464d210468ef0edd1c7ef408332fa7987 |
|
MD5 | d3ed07fb4776c3654a001c16ece9629a |
|
BLAKE2b-256 | 147c940caf8f3cce39b166fbae015a96b80a44665358e505e3b18f382b71e845 |
Hashes for poetry_plugin_taskipy-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ee94574ed1164747405829db4f48d7ad395d707c85adb7cca64310eae2d5221 |
|
MD5 | 37cc277801de2f0cdc5e8dbc512ad549 |
|
BLAKE2b-256 | 69aa03a0b2e926266950dc492c620ad4487467e8c4c92c0941e6bcc783ca77ff |