nb api resource
Run generic CRUD and aggregate queries against any NocoBase resource. The resource can be a normal resource such as users, or an association resource such as posts.comments.
Usage
Subcommands
Common Parameters
Association resource commands can also use --source-id to specify the source record ID.
Examples
If you explicitly pass --env and it differs from the current env, the CLI asks for confirmation first. In non-interactive terminals or AI agent sessions, add --yes yourself or run nb env use <name> first and try again.

