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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
⌂ 换网址