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 hashes)

Uploaded source

Built Distribution

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

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page