sysand remove#

Remove usage from project information

Will also remove project source overrides from configuration file if available.

Usage#

sysand remove [OPTIONS] <IRI|PUBLISHER/NAME|--path <PATH>>

Description#

Removes all instances of IRI from the list of usages in the project information file .project.json, and removes any matching project source overrides from the configuration file. It does not update the lockfile or sync the local environment.

rm is an alias for remove.

If no usage matches, the command fails with could not find usage for ....

Arguments#

  • <IRI|PUBLISHER/NAME>: IRI identifying the project usage to be removed, or <publisher>/<name> shorthand for pkg:sysand/<publisher>/<name>

Options#

  • -p, --path <PATH>: Path to the project to be removed from usages. Since every usage is identified by an IRI, the path will be transformed into a file:// URL

Global options#

  • -v, --verbose: Use verbose output

  • -q, --quiet: Do not output log messages

  • --no-config: Disable discovery of configuration files [env: SYSAND_NO_CONFIG]

  • --config-file <CONFIG_FILE>: Give path to sysand.toml to use for configuration [env: SYSAND_CONFIG_FILE]

  • -h, --help: Print help