ocpidev-delete — delete OpenCPI assets
The delete verb deletes from a project the OpenCPI assets and their
OpenCPI asset documents specified by the <noun> and <name> arguments that follow the verb.
Asset types to be specified in the <noun> argument are:
application
component
hdl
A prefix to indicate an HDL asset in the hdl subdirectory of a project.
Possible HDL assets are:
assembly
card
device
platform
primitive
Delete an HDL primitive. Possible primitive types are:
core
library
slot
librar(y|ies)
project
protocol
registry
test
worker
In addition to the options common to all OpenCPI tools (see opencpi(1)),
the following options can be specified for the delete verb.
These options are usually specific to the asset type
that is being deleted. When deleting an asset, ocpidev will
ask for confirmation. You can override this with the -f option
to force deletion without confirmation.
In the following option descriptions, a plus sign (+) indicates that the option can be specified more than once on the command line.
-f
-p, --project
specs/
directory of the project. No asset directories or document files are deleted.
-h <hdl-library>, --hdl-library=<hdl-library>
hdl directory of the project. Valid values for
<hdl-library> are one of devices, cards or adapters.
-l <library>, --library=<library>
Delete the project my-project:
ocpidev delete project my-project
myworker.hdl from the library named my-complib:
ocpidev delete -l my-complib worker myworker.hdl
See the main web site: https://www.opencpi.org
See the OpenCPI Application Development Guide: https://opencpi.gitlab.io/releases/latest/docs/OpenCPI_Application_Development_Guide.pdf
See the OpenCPI Component Development Guide: https://opencpi.gitlab.io/releases/latest/docs/OpenCPI_Component_Development_Guide.pdf
See the OpenCPI HDL Development Guide: https://opencpi.gitlab.io/releases/latest/docs/OpenCPI_HDL_Development_Guide.pdf
See the OpenCPI Platform Development Guide: https://opencpi.gitlab.io/releases/latest/docs/OpenCPI_Platform_Development_Guide.pdf
See the OpenCPI RCC Development Guide: https://opencpi.gitlab.io/releases/latest/docs/OpenCPI_RCC_Development_Guide.pdf
See the OpenCPI Documentation Writer Guide: https://opencpi.gitlab.io/releases/latest/docs/OpenCPI_Documentation_Writer_Guide.pdf