Skip to main content

brc list snap

brc list snap

Perform the operation against the Snap packages

Synopsis

Do the requested operation (install, list, or remove) against the Snap packages in a remote machine. This command only supports installation of the Snap packages that are exported by Hydra conventions into OCI artifacts. It would also take care of connecting and disconnecting all the plugs of the Snap package, however, the initialization should be called by the user manually (check the cic command).

The option --namespace must be in the format of bare.<machine-name> to access the remote machine using SSH and perform the action.

brc list snap [flags]

Examples


# list the Snap packages
brc list snap

# install the Snap package oai-cn from the stable channel on machine ayo
brc install --namespace bare.ayo snap --channel stable oai-cn

# remove the Snap package oai-cn on machine ayo
brc remove --namespace bare.ayo snap oai-cn

Options

  -h, --help   help for snap

Options inherited from parent commands

  -n, --namespace string   namespace to perform the operations (default "trirematics")
-v, --verbose debug output

SEE ALSO

  • brc list - List all instances of a component on Trirematics
Auto generated by spf13/cobra on 8-Jun-2025