Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.09 KB

cherryctl_server_get.md

File metadata and controls

41 lines (28 loc) · 1.09 KB

cherryctl server get

Retrieves server details.

Synopsis

Retrieves the details of the specified server.

cherryctl server get {ID | HOSTNAME} [-p <project_id>] [flags]

Examples

  # Gets the details of the specified server:
  cherryctl server get 12345

Options

  -h, --help             help for get
  -p, --project-id int   The project's ID.

Options inherited from parent commands

      --api-url string   Override default API endpoint (default "https://api.cherryservers.com/v1/")
      --config string    Path to JSON or YAML configuration file
      --context string   Specify a custom context name (default "default")
      --fields strings   Comma separated object field names to output in result. Fields can be used for list and get actions.
  -o, --output string    Output format (*table, json, yaml)
      --token string     API Token (CHERRY_AUTH_TOKEN)

SEE ALSO