Pymich CLI#

Pymich provides a simple self-documented CLI using cli2. If you have installed Pymich via Pypi, you will have the executable available in your shell provided Python’s packages are in your path.

$ pymich

ERROR: No sub-command provided

SYNOPSYS
pymich.py SUB-COMMAND <...>
pymich.py help SUB-COMMAND

DESCRIPTION
Represents a group of named commands.

SUB-COMMANDS
help     Get help for a command or group
compile  Compiles a Python file and outputs the result to stdout

Compiling#

To Michelson:

pymich compile <file-path> michelson

To Micheline:

pymich compile <file-path> micheline

To Pymich-IR:

pymich compile <file-path> ir