ocpidev-set — manually associate a project with a registry.
Projects are automatically associated with the current registry
when they are created or used. Use the ocpidev set registry command
to manually associate a project with a particular registry.
You must run this command from within a project. The optional <directory>
argument specifies the registry’s directory path. When used without
the <directory> argument, the command sets the project’s
registry to the default registry.
Asset types to be specified in the <noun> argument are:
registry
You can use the general-purpose options -v and -d <directory>
with this command. In particular, you can use the -d <directory>
option to specify the pathname of the project whose registry should be set.
If this option is not specified, the current project is used.
See the opencpi(1) man page
for descriptions of these general-purpose options.
There are no verb-specific options.
Set the current project’s registry to the default:
ocpidev set registry
Set the registry for the project ~/myproject to the registry
~/my-registry2:
ocpidev -d ~/myproject set registry ~/my-registry2
See the main web site: https://www.opencpi.org
See the OpenCPI Component Development Guide: https://opencpi.gitlab.io/releases/latest/docs/OpenCPI_Component_Development_Guide.pdf