command

ridu plugin add

Install and register a compiled backend plugin and optional paired admin package.

Arguments

ArgumentTypeDescription
--go-packagestringRequired compiled Go plugin package.
--go-versionstringGo module requirement; defaults to latest.
--constructorstringExported zero-argument constructor; defaults to New.
--admin-packagestringOptional paired static admin package.
--admin-versionstringAdmin package requirement; defaults to latest.
--no-installbooleanUpdate registration without invoking Go or the configured frontend package manager.

How it works

ridu add is an exact alias. The command updates dependencies and registration, regenerates contracts, checks compatibility, and rolls back its files on failure. Review the descriptor and create a migration afterward.

Full signature

ridu plugin add <key> --go-package <package> [--go-version <version>] [--constructor <name>] [--admin-package <package>] [--admin-version <version>] [--no-install]