cubic show

$ cubic show --help
Show VM images and instances

Use this command to inspect VM instance configuration and VM image details.

Examples:

  Show information of a VM instance
  $ cubic show trixie
  Status:       running
  PID:          12345
  Arch:         amd64
  CPUs:         6
  Memory:       16.0 GiB
  Disk Used:    5.2 GiB
  Disk Total:   100.0 GiB
  User:         cubic
  Isolated:     no
  SSH Port:     54315
  Monitor Port: 54316
  Console Port: 54317

  Show all information, adding file locations, the SSH command and forwards
  $ cubic show --all trixie
  ... (fields above, then)
  Disk Image:   ~/.local/share/cubic/machines/trixie/machine.img
  Config:       ~/.local/share/cubic/machines/trixie/instance.toml
  SSH Key:      ~/.local/share/cubic/machines/trixie/ssh_client_key
  SSH:          ssh -i .../trixie/ssh_client_key -p 54315 cubic@localhost
  Forward:      127.0.0.1:4000:4000/tcp

  Show information of a VM image
  $ cubic show ubuntu:noble
  Name:         ubuntu:{24.04, noble}
  Architecture: amd64
  Size:         512.0 MiB
  Cached:       yes

  Show all image information, adding checksum, file path and URLs
  $ cubic show --all ubuntu:noble
  ... (fields above, then)
  Checksum:     sha256
  Image File:   ~/.cache/cubic/images/ubuntu_noble_amd64
  Image URL:    https://cloud-images.ubuntu.com/minimal/releases/noble/...
  Checksum URL: https://cloud-images.ubuntu.com/minimal/releases/noble/...

Usage: cubic show [OPTIONS] <NAME>

Arguments:
  <NAME>
          Name of the virtual machine image or instance

Options:
  -a, --all
          Show all available information

  -v, --verbose
          Increase logging output

  -q, --quiet
          Reduce logging output

  -h, --help
          Print help (see a summary with '-h')