Skip to main content

A cli tool with an in-place terminal editor to compile over 27 languages instantly using the wandbox api.

Project description

Wandbox Cli

A cli tool which uses the wandbox api to compile over 26 languages instantly, Wandbox is a social compilation service.

Note: The time for the output totally depends upon how fast your internet can make a post request, it can be as slow as mine or instantaneous

Installation

Arch Linux

You can install through the AUR

yay -S wand

Pip

You can install it with the python package manager pip

pip install wand-cli

After installing with pip, you will have the command available for you, so you can directly run by

wand [OPTIONS] language

Commands

If you run the command without any option provided, you will be asked for the language name and then you can write your code in the terminal directly, and run it by pressing esc + enter

list

The list command, wand --list or wand -l is used to show the list of languages available.

file

The file command, wand --file [FILE PATH] or wand -f [FILE PATH] is used to compile a file.

editor

The editor command, wand --editor [editor-name] or wand -e [editor-name] is used to open a temporary buffer in an editor to edit files, the code is run after the editor is closed, note: its recommended to use a terminal editor for this, gui editors can cause unexpected behaviour.

theme

The theme command, wand --theme [theme name] or wand -t [theme name] is used to change the colorscheme for the in-place text editor

themelist

The themelist command (wand --themelist or wand -tl) is used to list all the available color schemes.

help

The help command, wand --help or wand -h shows a brief description on the command.

Languages

Here's a list of the languages which are available.

┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓
┃    python    ┃      f#      ┃
│     c++      │    scala     │
│      c       │    swift     │
│  javascript  │  typescript  │
│     java     │     vim      │
│   haskell    │     lua      │
│     bash     │     nim      │
│   crystal    │     php      │
│    elixir    │     perl     │
│      d       │     pony     │
│    sqlite    │      go      │
│     lisp     │     ruby     │
│      c#      │ coffeescript │
│     rust     │              │
└──────────────┴──────────────┘

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

wand-cli-2.4.9.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

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

wand_cli-2.4.9-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

Details for the file wand-cli-2.4.9.tar.gz.

File metadata

  • Download URL: wand-cli-2.4.9.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.6

File hashes

Hashes for wand-cli-2.4.9.tar.gz
Algorithm Hash digest
SHA256 04a4e6b47c1d627aefef8019812640cb23039021b29db4e26aa8e6013739a562
MD5 1bb7a147f1f92ff0f494e5d3cf71e066
BLAKE2b-256 ec7a219684302d4eb552660ce1d469a7b2873b16752d15180b8f18551514cb82

See more details on using hashes here.

File details

Details for the file wand_cli-2.4.9-py3-none-any.whl.

File metadata

  • Download URL: wand_cli-2.4.9-py3-none-any.whl
  • Upload date:
  • Size: 15.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.6

File hashes

Hashes for wand_cli-2.4.9-py3-none-any.whl
Algorithm Hash digest
SHA256 47cfbe26e2a403006696e7e7dd1fac749368fb6d8a89759e8cf382cd89931173
MD5 48c03861e3da48f00af25781defd2512
BLAKE2b-256 084a2b3c176a69ea53f74fc6a13c6c9738b9aa99eb9fcac5972b81ce4f2dd76f

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