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 completions for caddy #4008

Merged
merged 1 commit into from May 4, 2017

Conversation

Projects
None yet
2 participants
@adriaanzon
Contributor

adriaanzon commented May 3, 2017

Description

Added completions for the various options of Caddy:

Usage of caddy:
  -agree
    	Agree to the CA's Subscriber Agreement
  -ca string
    	URL to certificate authority's ACME server directory (default "https://acme-v01.api.letsencrypt.org/directory")
  -catimeout duration
    	Default ACME CA HTTP timeout (default 10s)
  -conf string
    	Caddyfile to load (default "Caddyfile")
  -cpu string
    	CPU cap (default "100%")
  -disable-http-challenge
    	Disable the ACME HTTP challenge
  -disable-tls-sni-challenge
    	Disable the ACME TLS-SNI challenge
  -email string
    	Default ACME CA account email address
  -grace duration
    	Maximum duration of graceful shutdown (default 5s)
  -host string
    	Default host
  -http-port string
    	Default port to use for HTTP (default "80")
  -http2
    	Use HTTP/2 (default true)
  -https-port string
    	Default port to use for HTTPS (default "443")
  -log string
    	Process log file
  -pidfile string
    	Path to write pid file
  -plugins
    	List installed plugins
  -port string
    	Default port (default "2015")
  -quic
    	Use experimental QUIC
  -quiet
    	Quiet mode (no initialization output)
  -revoke string
    	Hostname for which to revoke the certificate
  -root string
    	Root path of default site (default ".")
  -type string
    	Type of server to run (default "http")
  -validate
    	Parse the Caddyfile but do not start the server
  -version
    	Show version

see https://caddyserver.com and https://github.com/mholt/caddy

TODOs:

  • Changes to fish usage are reflected in user documentation/manpages.
  • Tests have been added for regressions fixed
  • User-visible changes noted in CHANGELOG.md

@faho faho added this to the 2.6.0 milestone May 4, 2017

@faho faho merged commit 09ce297 into fish-shell:master May 4, 2017

1 check failed

continuous-integration/travis-ci/pr The Travis CI build failed
Details
@faho

This comment has been minimized.

Show comment
Hide comment
@faho

faho May 4, 2017

Member

Merged, thanks!

Member

faho commented May 4, 2017

Merged, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment