inference bureau
← Changelog
NewAppsFrom the roadmap

Run an action from the CLI

ib-apps run calls one of an app's actions from a terminal or a CI script: ib-apps run syncCatalog for a global action, or ib-apps run review.approve --record <id> for a model's, with --params '<json>' or --params-file. It prints what the action returned, or the record it left. When the run fails it prints the action's error, its log lines and the run's line in Logs, and exits 1, so a CI step stops there. Production asks before it runs unless you pass --yes, and --dry-run checks the action, its params and its record without running the action's code. Update with npm i -g @inferencebureau/apps (0.19.0).

More in Calling an action.