codelogician-lite / codelogician CLI
Installation
- Installation commands:
curl -fsSL https://codelogician.dev/codelogician/install.sh | shuv tool install codelogicianpip install codelogician
- Both
codelogicianandcodelogician-litewill be available after installation.codelogician-liteis an alias ofcodelogician evalsubcommand.
codelogician-lite --help
# codelogician --help
IMANDRA_UNI_KEY or IMANDRAX_API_KEY needs to be set in the environment variables.
Usage
All commands accept a FILE argument (path to an IML file, or - to read from stdin) and a --json flag to output results in JSON format.
Important: Refer to --help for arguments and options of each command.
Store JSON for later programmatic interaction
It can he helpful to store the JSON output of the command you are running for later programmatic interaction, e.g., to use jq (or a Python script) to filter or manipulate the output. Reasons for doing so include:
- Some commands (e.g.,
check-decompfor a function with large state-space) can take a long time to run - Some results are convoluted and need to be filtered or manipulated for further analysis
- Parallizing multiple commands (e.g.,
check-vgandcheck-decompfor different index) can be useful