Skip to main content

CLI tools for Deadlock challenges.

Project description

Tools to create, run your Deadlock challenges.

Help

dcli --help

Documentation about challenges.

Install from pip

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

git clone https://github.com/deadlock-resources/dcli.git
cd dcli/
pip3 install .

Get dcli version

dcli version

Generate mission

dcli gen (java|python|cpp|c|kotlin)

Execute mission

dcli solve ./mission_path
dcli run ./mission_path

Execute metamorph mission

To execute your multi language mission:

# 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.

# running code with verbose mode

dcli run . --verbose
dcli solve . --verbose

Todo

  • Add Haskell generator language

Build archive from sources

python setup.py sdist

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

deadlock-cli-1.2.7.tar.gz (128.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

deadlock_cli-1.2.7-py3-none-any.whl (144.7 kB view details)

Uploaded Python 3

File details

Details for the file deadlock-cli-1.2.7.tar.gz.

File metadata

  • Download URL: deadlock-cli-1.2.7.tar.gz
  • Upload date:
  • Size: 128.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.10

File hashes

Hashes for deadlock-cli-1.2.7.tar.gz
Algorithm Hash digest
SHA256 ac5750a6612294641c8807a4c3826e1b0dc872b2f07fd6b25ff089c01d0bfbbc
MD5 4e8e191a0f3a05bc60772a73f82d577b
BLAKE2b-256 4ab86fd838b7de23dccd5e46536b21b1153a2ef7b6787956c2612d7a97c17025

See more details on using hashes here.

File details

Details for the file deadlock_cli-1.2.7-py3-none-any.whl.

File metadata

  • Download URL: deadlock_cli-1.2.7-py3-none-any.whl
  • Upload date:
  • Size: 144.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.10

File hashes

Hashes for deadlock_cli-1.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 ce32e8677f293d3e4dca0a71eeff3aba4720b5defcc9acdf32bc24920589ac92
MD5 edd3afe62b56056060f66aca9f2f10c3
BLAKE2b-256 b397f1908d13e48a17d4bb874bb2abf1713920bc562e7cb334d374156eb71ea9

See more details on using hashes here.

Supported by

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