Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
75adb282e7 | ||
|
|
eacfa17e40 | ||
|
|
f4448835ab |
@@ -1,9 +1,17 @@
|
|||||||
# Project Manager
|
# Project Manager
|
||||||
|
|
||||||
|
Automatically detects modules and executes commands
|
||||||
|
|
||||||
|
Supported types:
|
||||||
|
|
||||||
|
- python (poetry)
|
||||||
|
- nodejs (npm)
|
||||||
|
- docker
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
pipx install project-manager -i https://git.shmyga.ru/InfernalGames/project-manager/packages
|
pipx install project-manager -i https://git.shmyga.ru/api/packages/InfernalGames/pypi/simple/ --pip-args="--extra-index-url https://pypi.org/simple"
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
@@ -14,17 +22,16 @@ pipx install project-manager -i https://git.shmyga.ru/InfernalGames/project-mana
|
|||||||
pm [-v] [-vv]
|
pm [-v] [-vv]
|
||||||
```
|
```
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
### Run task
|
### Run task
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
pm <task>[:<tag>] [-v] [-vv]
|
pm <task>[:<tag>][:<sub_tag>] [-v] [-vv]
|
||||||
```
|
```
|
||||||
|
|
||||||
## Presets locations
|

|
||||||
|

|
||||||
- default presets [`project_manager/preset/default/*.toml`](./project_manager/preset/default)
|
|
||||||
- user preset `$HOME/.pm.toml`
|
|
||||||
- project preset `./.pm.toml`
|
|
||||||
|
|
||||||
## Preset format
|
## Preset format
|
||||||
|
|
||||||
@@ -39,3 +46,9 @@ commands = ["<command>"]
|
|||||||
### Examples
|
### Examples
|
||||||
|
|
||||||
[Default presets](./project_manager/preset/default)
|
[Default presets](./project_manager/preset/default)
|
||||||
|
|
||||||
|
## Presets locations
|
||||||
|
|
||||||
|
- default presets [`project_manager/preset/default/*.toml`](./project_manager/preset/default)
|
||||||
|
- user preset `$HOME/.pm.toml`
|
||||||
|
- project preset `./.pm.toml`
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 106 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 76 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 62 KiB |
@@ -6,7 +6,7 @@ variables.python_poetry = "{{ 'pyproject.toml' | read | get('build-system.build-
|
|||||||
[presets.python.tasks.setup.poetry]
|
[presets.python.tasks.setup.poetry]
|
||||||
conditions = ["{{ python_poetry }}"]
|
conditions = ["{{ python_poetry }}"]
|
||||||
variables.python_version = "{{ 'pyproject.toml' | read | get('project.requires-python') | search('(\\d+.\\d+)') }}"
|
variables.python_version = "{{ 'pyproject.toml' | read | get('project.requires-python') | search('(\\d+.\\d+)') }}"
|
||||||
commands = ["poetry env use {{ python_version }}", "poetry install"]
|
commands = ["poetry env use {{ python_version }}", "poetry install --all-extras"]
|
||||||
|
|
||||||
# playwright
|
# playwright
|
||||||
[presets.python.tasks.setup.playwright]
|
[presets.python.tasks.setup.playwright]
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "project-manager"
|
name = "project-manager"
|
||||||
description = ""
|
description = ""
|
||||||
version = "0.3.0"
|
version = "0.3.1"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
authors = [{ name = "shmyga", email = "shmyga.z@gmail.com" }]
|
authors = [{ name = "shmyga", email = "shmyga.z@gmail.com" }]
|
||||||
requires-python = ">=3.14,<4.0"
|
requires-python = ">=3.14,<4.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user