Note: This project requires your own API key for one of the supported AI models:
Setup CLI
- Download the binary for your OS from the releases page
- Rename the binary file to
mocktopus - Copy the binary to
/usr/bin/paths (for macOS, Linux). If you cannot copy the the binary to the directory, then update yourPATHenv variable to also include the directory wheremocktopusbinary is stored. - Proceed to adding the OpenAI/Gemini API key as an environment variable by following the steps in next section
This example is for zsh shell, you can add it accordingly for other shell environments.
nano ~/.zshrcIn the file that is opened, add the following line at the end
export MOCKTOPUS_OPENAI_KEY="<YOUR OPENAI API KEY>"
export MOCKTOPUS_GEMINI_KEY="<YOUR GEMINI API KEY>"Save the file and exit, then restart the terminal.
mocktopus [global options] command [command options] [arguments...]
Commands:
proto proto <source> <destination>
placeholder
tests tests <source> <destination>
persona
help, h Shows a list of commands or help for one command
- Remove the
mocktopusbinary file - Optionally remove the env variables starting with
MOCKTOPUS
