codenames

command module
v0.2.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2023 License: MIT Imports: 17 Imported by: 0

README

codenames

generate pseudo random codenames

Reads ajectives and animals from specified files and on each query returns a concatenation from a random choice of one adjective followed by one animal.

Building the program

go build

Using the program

SUMMARY: codenames [options] --adjectives FILE --animals FILE [options]

USAGE: Not all options may be used with all other options. See below synopsis for reference.

NOTE: The --certfile and --keyfile must both be provided to serve HTTPS. When serving HTTPS, the --redirect command line option causes HTTP traffic to be redirected to HTTPS port.

SYNOPSIS:

codenames [--debug | --verbose | --quiet]
          [--http NUMBER]
          [--logs FILE]
          [--certfile FILE] [--keyfile FILE] [--https NUMBER] [--redirect]
          --adjectives FILE --animals FILE

EXAMPLES:

codenames --adjectives adjectives.txt --animals animals.txt
codenames --adjectives adjectives.txt --animals animals.txt --http 80
codenames --adjectives adjectives.txt --animals animals.txt --certfile $HOME/.local/share/mkcert/rootCA.pem --keyfile $HOME/.local/share/mkcert/rootCA-key.pem
codenames --adjectives adjectives.txt --animals animals.txt --http 80 --https 443 --certfile $HOME/.local/share/mkcert/rootCA.pem --keyfile $HOME/.local/share/mkcert/rootCA-key.pem --redirect

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL