@victor775/ae-cli
v0.1.3
Published
CLI for the AE backend built on top of @victor775/ae-sdk
Readme
ae-cli
CLI for the AE backend built on top of @victor775/ae-sdk.
Install for users
npm install -g @victor775/ae-cliAfter that the binary is available as:
ae --helpYou can also run it without a global install:
npx @victor775/ae-cli --helpUsage
ae agents search --search yield --limit 10
ae agents get 001711ba-472a-4a37-96fb-e1f5bf9a56a4
ae agents report-outcome 001711ba-472a-4a37-96fb-e1f5bf9a56a4 --outcome success
ae agents get 001711ba-472a-4a37-96fb-e1f5bf9a56a4 --jsonConfiguration
AE_BASE_URL: override the default API base URL--base-url <url>: override the base URL per command--json: print raw JSON responses
Development
npm install
npm run build
npm testRelease
Publishing is automated through GitHub Actions on version tags.
- Add a repository secret named
NPM_TOKEN. - Create an npm granular access token with publish permission for
@victor775/ae-cli. - Enable bypass 2FA for that token.
- Bump the package version and push the tag:
npm version patch
git push origin master --follow-tagsThe workflow in release.yml will verify that the tag matches package.json, run tests, build the package, and publish it to npm.
