cargo install --git https://github.com/otter-dev/otter-cli
cargo install --git https://github.com/otter-dev/otter-cli --force
To use Otter CLI we need to authenticate ourself: (You need to be whitelisted contact Osec team if you need any help here)
- Open the command prompt or terminal on your computer.
- Run
otr -h
orotr --help
to see all the available commands.
- When prompted open the given link and Enter your code and give permission for application.
- Once the authentication is completed we can now submit jobs to Otter API via CLI.
- Use
ote solana-verify
and pass the required arguments to know more useotr solana-verify --help
. - Input the required arguments for the Job
-r
or--repository
for git repository,-b
for git branch and-p
for program path. - After submitting this you will get a
jobId
we need this to retrieve the status of the job.
- Use
otr check
and pass the required arguments to know more useotr check --help
. - Input the required arguments for the Job
otr check <ID>
.