Name

ocpidev-set — manually associate a project with a registry.

Synopsis

ocpidev [<options>] set registry [<directory>]

DESCRIPTION

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
Set the registry for the project.

OPTIONS

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.

There are no verb-specific options.

EXAMPLES

  1. Set the current project’s registry to the default:

    ocpidev set registry
  2. Set the registry for the project ~/myproject to the registry ~/my-registry2:

    ocpidev -d ~/myproject set registry ~/my-registry2

BUGS

See https://www.opencpi.org/report-defects

RESOURCES

See the main web site: https://www.opencpi.org

SEE ALSO

ocpidev(1) ocpidev-build(1) ocpidev-clean(1) ocpidev-create(1) ocpidev-delete(1) ocpidev-refresh(1) ocpidev-register(1) ocpidev-run(1) ocpidev-show(1) ocpidev-unregister(1) ocpidev-unset(1) ocpidev-utilization(1)

COPYING

Copyright (C) 2021 OpenCPI www.opencpi.org. OpenCPI is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.