Skip to main content

A monorepo tool for Poetry

Project description

iliad

A monorepo tool for Poetry

The intention is to make a tool that makes working with poetry in monorepos more convenient.

Install

$ pip install iliad

Quirks

  • Expects to run within a git repo, uses the .git directory to detect the root of the monorepo.

Usage

List

List the poetry projects detected.

$ iliad list
//deployment
//lambdas/alpha
//lambdas/beta
//lambdas/delta

Run

Runs a command (using poetry run) for each of the poetry projects, where the path matches the selector.

Prints out errors for commands that fail.

$ iliad run --selector lambdas -- pytest -v --capture=no
[done] //lambdas/alpha
[failed(2)] //lambdas/beta
[done] //lambdas/delta

failures:
[//lambdas/beta] failed with return code 2
[//lambdas/beta:stdout] ...
[//lambdas/beta:stderr] ...

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iliad-0.5.1.tar.gz (4.8 kB view hashes)

Uploaded Source

Built Distribution

iliad-0.5.1-py3-none-any.whl (5.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page