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

document command line flags and system env vars #11

Closed
filex opened this issue Sep 9, 2020 · 1 comment
Closed

document command line flags and system env vars #11

filex opened this issue Sep 9, 2020 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@filex
Copy link
Contributor

filex commented Sep 9, 2020

couper -h
Usage of couper:
  -f string
    	-f ./couper.conf (default "couper.hcl")
  -log-format string
    	-log-format json (default "default")
  -p int
    	-p 8080 (default 8080)
  -xfh
    	-xfh

@filex filex added the documentation Improvements or additions to documentation label Sep 9, 2020
@malud
Copy link
Collaborator

malud commented Aug 10, 2021

Since this is solved with #187 couper returns

go run main.go -h

Couper usage:
  couper <cmd> <options>

Available commands:
  run		Start the server with given configuration file.
  version	Print the current version and build information.
  help		Usage for given command.

Examples:
  couper run
  couper run -f couper.hcl
  couper run -watch -log-format json -log-pretty -p 3000

Usage of global options:
  -f string
    	-f ./my-path/couper.hcl (default "couper.hcl")
  -log-format string
    	-log-format=json (default "common")
  -log-pretty
    	-log-pretty
  -watch
    	-watch
  -watch-retries int
    	-watch-retries 10 (default 5)
  -watch-retry-delay duration
    	-watch-retry-delay 1s (default 500ms)

I will close this one.

@malud malud closed this as completed Aug 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants