GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — cli/docs/metal_context.md at main · metal-stack-cloud/cli

Expand file tree

/

metal_context.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
42 lines (31 loc) · 1.76 KB
/

metal_context.md

Copy path

File metadata and controls

42 lines (31 loc) · 1.76 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

metal context

manage cli contexts

Synopsis

you can switch back and forth contexts with "-"

metal context [flags]

Options

  -h, --help   help for context

Options inherited from parent commands

      --api-token string       the token used for api requests
      --api-url string         the url to the metalstack.cloud api (default "https://api.metalstack.cloud")
  -c, --config string          alternative config file path, (default is ~/.metal-stack-cloud/config.yaml)
      --debug                  debug output
      --force-color            force colored output even without tty
  -o, --output-format string   output format (table|wide|markdown|json|yaml|template|jsonraw|yamlraw), wide is a table with more columns, jsonraw and yamlraw do not translate proto enums into string types but leave the original int32 values intact. (default "table")
      --template string        output template for template output-format, go template format. For property names inspect the output of -o json or -o yaml for reference.
      --timeout duration       request timeout used for api requests

SEE ALSO

  • metal - cli for managing entities in metal-stack-cloud
  • metal context add - add a cli context
  • metal context list - list the configured cli contexts
  • metal context remove - remove a cli context
  • metal context set-project - sets the default project to act on for cli commands
  • metal context show-current - prints the current context name
  • metal context switch - switch the cli context
  • metal context update - update a cli context
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.