/piston-cli

Too lazy to download languages then use this awesome CLI tool to run over 35 languages supporting command line arguments and standard input. Thanks to piston API by Engineer-man.

Primary LanguagePythonMIT LicenseMIT

Piston CLI

A cli tool which uses the piston api, developed by Engineerman and his team to compile over 35 languages instantly. Accepts files, paste.pythondiscord.com links and input.

Installation

# Installing the package
pip3.8 install piston-cli -U
# Help Command
piston -h

Example usage

example

Languages

piston --list

How to run it? (Contributing)

# This will install the development and project dependencies.
pipenv sync --dev

# This will install the pre-commit hooks.
pipenv run precommit

# Optionally: run pre-commit hooks to initialize them.
# You can start working on the feature after this.
pipenv run pre-commit run --all-files

# Run it
pipenv run start

Contributing

You can comment on the feature you want to work on in this discussion.