We don’t just have a web platform, but also a CLI version of Innocuous Book!
Just follow these few simple steps to install and utilize Innocuous Book by command line.
Arguments | Description |
---|---|
-m | run library module as a script (terminates option list) |
-F | package the program into a single executable file (suitable for simpler code or only a single .py file) |
python -m PyInstaller -F --add-data "/home/ubuntu/anaconda3/envs/pyinstall/lib/python3.8/site-packages/pyfiglet:./pyfiglet" innocuous.py
sudo cp code/dist/innocuous /usr/bin/
sudo cp code/innocuous.sh /etc/bash_completion.d/
It has four commands for user to use, which are generate, upload, run and list.
innocuous [generate trial list upload]
innocuous generate [-o <save to file>]
innocuous generate -o ~/config_tmep.json
innocuous upload [-m --model <path of model>] [-f --function <path of function>] [-c --config <path of config>] [-d --dataset <path of dataset>] [-r --requirements <path of requirements>]
innocuous upload [-m --model <path of model>]
innocuous upload [-f --function <path of function>]
innocuous upload [-c --config <path of config>]
innocuous upload [-d --dataset <path of dataset>]
innocuous upload [-r --requirements <path of requirements>]
innocuous trial [-m --model <path of model>] [-f --function <path of function>] [-c --config <path of config>] [-d --dataset <path of dataset>] [-r --requirements <path of requirements>]
innocuous trial [-f --function <path of function>] [-c --config <path of config>] [-d --dataset <path of dataset>] [-r --requirements <path of requirements>]