12345678910111213141516171819202122232425262728293031323334353637 |
- // Package kurzd contains the Kurz daemon command.
- package main
- //go:generate gotext -srclang=en update -out=catalog.go -lang=fr,de,en
- import (
- "fmt"
- "os"
- )
- /**
- kurzd
- -h Display top-level help
- -v Verbose (default: false).
- help <command> Display help (same as kurzd <command> -h)
- server Serve kurz (default option).
- -p|--port <port_id> Serve on this IP port (default: 80).
- -m|--monitoring <port_id> Serve monitoring on this IP port (default: none)
- install Install kurzd completely.
- config Install the configuration define by command line to ~.
- export Export kurzd data.
- config Export kurz configuration.
- content Export kurz content.
- migrate Goose migration commands
- <goose commands> See https://github.com/pressly/goose
- uninstall Uninstall kurzd completely.
- config Uninstall the curz configuration file from ~.
- schema Uninstall the curz database schema.
- status Report on kurzd status
- stop Stop all instances of kurzd on the current server (restricted)
- */
- func main() {
- if err := cmd.Execute(); err != nil {
- fmt.Println(err)
- os.Exit(1)
- }
- }
|