deadlock-cli-1.2.7
توضیحات
CLI tools for Deadlock challenges.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | deadlock-cli-1.2.7 |
| نام | deadlock-cli |
| نسخه کتابخانه | 1.2.7 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Slayug |
| ایمیل نویسنده | apuret@takima.fr |
| آدرس صفحه اصلی | https://github.com/deadlock-resources/dcli |
| آدرس اینترنتی | https://pypi.org/project/deadlock-cli/ |
| مجوز | - |
Tools to create, run your Deadlock challenges.
## Help
```bash
dcli --help
```
[Documentation about challenges.](https://deadlock-resources.github.io/challenge-documentation)
## Install from pip
```bash
pip install deadlock-cli --user
```
If it does not work make sure you have your PATH correctly set:
`export PATH=$PATH:/home/$USER/.local/bin`
## Install from sources
```bash
git clone https://github.com/deadlock-resources/dcli.git
cd dcli/
pip3 install .
```
## Get dcli version
```bash
dcli version
```
## Generate mission
```bash
dcli gen (java|python|cpp|c|kotlin)
```
## Execute mission
```bash
dcli solve ./mission_path
dcli run ./mission_path
```
## Execute metamorph mission
To execute your multi language mission:
```bash
# running the Java code
dcli solve . java
dcli run . java
# running the Python code
dcli solve . python
dcli run . python
```
## Use verbose mode
If you want more information when you launch the containers you can use the verbose mode with the flag `--verbose`. It also allows you to have more detail on some errors.
```bash
# running code with verbose mode
dcli run . --verbose
dcli solve . --verbose
```
## Todo
* Add Haskell generator language
## Build archive from sources
```bash
python setup.py sdist
```
نیازمندی
| مقدار | نام |
|---|---|
| - | inquirer |
| - | PyInquirer |
| - | fire |
| - | Jinja2 |
| - | colored |
| - | Flask |
| - | jsonify |
| - | requests |
| - | pyyaml |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.2 | Python |
نحوه نصب
نصب پکیج whl deadlock-cli-1.2.7:
pip install deadlock-cli-1.2.7.whl
نصب پکیج tar.gz deadlock-cli-1.2.7:
pip install deadlock-cli-1.2.7.tar.gz