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 flags support (fix #49) #50

Merged
merged 1 commit into from
Jun 15, 2016
Merged

Add flags support (fix #49) #50

merged 1 commit into from
Jun 15, 2016

Conversation

raphink
Copy link
Contributor

@raphink raphink commented Jun 15, 2016

Use github.com/jessevdk/go-flags instead of github.com/caarlos0/env

$ Usage:
  conplicity [OPTIONS]

Application Options:
  -i, --image=              The duplicity docker image. (default: camptocamp/duplicity:latest) [$DUPLICITY_DOCKER_IMAGE]
  -u, --url=                The duplicity target URL to push to. [$DUPLICITY_TARGET_URL]
  -g, --gateway-url=        The prometheus push gateway URL to use. [$PUSHGATEWAY_URL]
      --aws-access-key-id=  The AWS access key ID. [$AWS_ACCESS_KEY_ID]
      --aws-secret-key-id=  The AWS secret access key. [$AWS_SECRET_ACCESS_KEY]
      --swift-username=     The Swift user name. [$SWIFT_USERNAME]
      --swift-password=     The Swift password. [$SWIFT_PASSWORD]
      --swift-auth_url=     The Swift auth URL. [$SWIFT_AUTHURL]
      --swift-tenant-name=  The Swift tenant name. [$SWIFT_TENANTNAME]
      --swift-region-name=  The Swift region name. [$SWIFT_REGIONNAME]
      --full-if-older-than= The number of days after which a full backup must be performed. (default: 15D) [$CONPLICITY_FULL_IF_OLDER_THAN]
      --remove-older-than=  The number days after which backups must be removed. (default: 30D) [$CONPLICITY_REMOVE_OLDER_THAN]
  -b, --blacklist=          Volumes to blacklist in backups. [$CONPLICITY_VOLUMES_BLACKLIST]

Help Options:
  -h, --help                Show this help message

exit status 1

@mcanevet
Copy link
Contributor

Update README?

Use github.com/jessevdk/go-flags instead of github.com/caarlos0/env
@mcanevet
Copy link
Contributor

LGTM

@raphink raphink merged commit c5bcf25 into camptocamp:master Jun 15, 2016
@raphink raphink deleted the flags branch June 28, 2016 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants