Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add sos show command #204

Merged
merged 5 commits into from
Dec 3, 2019
Merged

add sos show command #204

merged 5 commits into from
Dec 3, 2019

Conversation

illi-j
Copy link
Contributor

@illi-j illi-j commented Dec 2, 2019

This PR add a new SOS command.

  • sos show
%exo sos show
Usage:
  exo sos show <bucket name> <oject name> [flags]

Aliases:
  show, get

Flags:
  -h, --help   help for show

Global Flags:
      --certs-file string        Path to file containing additional SOS API X.509 certificates
  -C, --config string            Specify an alternate config file [env EXOSCALE_CONFIG]
  -O, --output-format string     Output format (table|json|text)
      --output-template string   Template to use if output format is "text"
  -Q, --quiet                    Quiet mode (disable non-essential command output
  -A, --use-account string       Account to use in config file [env EXOSCALE_ACCOUNT]
%exo sos show test T-DOP-600_ansible.pdf
┼───────────────────────┼─────────────────────────────────────────────────────────────┼
│ T-DOP-600 ANSIBLE PDF │                                                             │
┼───────────────────────┼─────────────────────────────────────────────────────────────┼
│ ACL                   │   ACCESS    VALUE                                           │
│                       │   Canned   private                                          │
│                       │                                                             │
│ Metadata              │   KEY   VALUE                                               │
│                       │   dc    dcv                                                 │
│                       │   dv    dv                                                  │
│                       │                                                             │
│ Headers               │       KEY             VALUE                                 │
│                       │   content-type   application/pdf                            │
│                       │                                                             │
│ URL                   │ https://sos-ch-gva-2.exo.io/test/T-DOP-600_ansible.pdf      │
┼───────────────────────┼─────────────────────────────────────────────────────────────┼

@illi-j illi-j added the HOLD ✋ Hold, don't merge label Dec 2, 2019
cmd/sos_show.go Outdated Show resolved Hide resolved
cmd/sos_show.go Outdated Show resolved Hide resolved
cmd/sos_show.go Outdated Show resolved Hide resolved
cmd/sos_show.go Outdated Show resolved Hide resolved
cmd/sos_show.go Outdated Show resolved Hide resolved
cmd/sos_show.go Outdated Show resolved Hide resolved
cmd/sos_show.go Show resolved Hide resolved
@illi-j illi-j requested a review from falzm December 2, 2019 18:30
@illi-j illi-j force-pushed the sos/ch2637/sos-show-command branch from e6d8eba to 1dcb19a Compare December 3, 2019 09:43
Copy link
Member

@pierre-emmanuelJ pierre-emmanuelJ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐇

@illi-j illi-j merged commit f8868d2 into master Dec 3, 2019
@illi-j illi-j deleted the sos/ch2637/sos-show-command branch December 3, 2019 10:53
@illi-j illi-j mentioned this pull request May 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HOLD ✋ Hold, don't merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants