Skip to content

ocre cli #34

@gonzolively

Description

@gonzolively

We will need an Ocre CLI for basic container management functions. Namely, uploading images to a container registry.

Example of how this could be implemented for ocre push

ocre push <container_file_location> [options]

Options:
  -r, --registry <url>      Registry URL (required)
  -t, --tag <tag>          Container tag (default: "latest")
  -n, --name <name>        Container name (default: inferred from filename)
  -d, --description <text> Container description
  -f, --force              Force push even if tag exists
  -q, --quiet             Suppress detailed output
  --no-verify             Skip container validation before push
  -h, --help              Show help information

Examples:
  ocre push myapp.ocre -r registry.example.com 
  ocre push myapp.ocre -r registry.example.com -t v1.0 -d "My embedded application"

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions