Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eganjs/iliad
https://github.com/eganjs/iliad
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/eganjs/iliad
- Owner: eganjs
- License: mit
- Created: 2020-08-10T07:35:31.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-04-20T23:37:57.000Z (almost 4 years ago)
- Last Synced: 2024-12-01T05:18:44.854Z (about 2 months ago)
- Language: Python
- Size: 35.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# iliad
A monorepo tool for [Poetry](https://github.com/python-poetry/poetry)The intention is to make a tool that makes working with poetry in monorepos more convenient.
## Install
```shell
$ 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.
```shell
$ 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.
```shell
$ iliad run --selector lambdas -- pytest -v --capture=no
[done] //lambdas/alpha
[failed(2)] //lambdas/beta
[done] //lambdas/deltafailures:
[//lambdas/beta] failed with return code 2
[//lambdas/beta:stdout] ...
[//lambdas/beta:stderr] ...
```