Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.1 KB

cherryctl_storage_list.md

File metadata and controls

41 lines (28 loc) · 1.1 KB

cherryctl storage list

Retrieves storage list.

Synopsis

Retrieves a list of storages in the project.

cherryctl storage list -p <project_id> [flags]

Examples

  # Gets a list of storages in the specified project:
		cherryctl storage list -p 12345

Options

  -h, --help             help for list
  -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