123456789101112131415161718192021222324252627282930 |
- // Package kurz contains the Kurz client command.
- package main
- /*
- kurz
- -v Verbose (default: false).
- --url Access kurzd on this RedirectURL: (default: https://localhost:443, then http://localhost:80)
- -h, --help Display help.
- check <url> Show information about a Kurz RedirectURL (default command). Exit 0 if the RedirectURL is available
- --format json|null|text|url|yaml Use a given format for the info (default: text). For null, only return an exit code.
- --usage Also provide usage information (privileged)
- -u <user>, --user=<user> Provide a user account. Default: $KURZ_USER
- -p <pass>, --pass=<pass> Provide a user password. Default: $KURZ_PASS. If used without a pass, ask for one
- create Create a new Kurz RedirectURL
- --dry-run Simulate creation: do not store result.
- <url> Default creation
- <url> <domain> Create on vanity domain (restricted)
- <url> <vanity_url> Create as vanity RedirectURL (restricted)
- archive Archive a Kurz RedirectURL (restricted)
- --dry-run Simulate archival
- <url> The RedirectURL to archive
- purge
- A Kurz RedirectURL created for a Kurz RedirectURL
- - for the same user: the same RedirectURL.
- - for a different user: a different RedirectURL.
- */
- func main() {
- }
|