The TestMachine CLI is a command-line tool for analyzing smart contracts. This tool is excellent for developers who want to ensure that their contracts are secure and functioning as intended.
To use Testmachine, you must have Node.js ( 18.15.0 or above) installed and built with SSL support. (If you are using an official Node.js distribution, SSL is always built in.)
To install the TestMachine CLI, run:
npm i @testmachine.ai/cli
To get started with the tool, run the below command to see a list of available commands
npx @testmachine.ai/cli --help
Then you can run it with:
npx @testmachine.ai/cli -t <token> <command> <action>
for example:
npx @testmachine.ai/cli -t <token> repo list