Generate a readable name for throwaway infrastructure
shell,script(name="random_name")
readable-name-generator
shell,skip()
capable_munson
shell,script(name="running")
readable-name-generator --initial-seed 1
shell,verify(script_name="running")
gregarious_pauli
shell,script(name="seperator")
readable-name-generator --initial-seed 1 --separator "###"
shell,verify(script_name="seperator")
gregarious###pauli
shell,script(name="help")
readable-name-generator --help
``` shell,verify(script_name="help") readable-name-generator 2.100.49
Generate a readable name for throwaway infrastructure
USAGE: readable-name-generator [OPTIONS]
OPTIONS:
-c, --completion
-h, --help
Print help information
-i, --initial-seed <initial_seed>
Use a known seed to generate the readable name for repeatability [env:
READABLE_NAME_GENERATOR_INITIAL_SEED=]
-s, --separator <separator>
The separator to use [env: READABLE_NAME_GENERATOR_SEPARATOR=] [default: _]
-V, --version
Print version information
```
We also have a docker image
shell,skip()
docker run --rm -it ghcr.io/purplebooth/readable-name-generator:latest -i 1
shell,skip()
gregarious_pauli
Download the latest release and run it. I install it with homebrew. Or you could use docker.
shell,skip()
brew install PurpleBooth/repo/readable-name-generator
Binaries for Windows, Linux and MacOS are available on the releases page
To run the tests, run
shell,skip()
just test
To run the end-to-end tests, run
shell,skip()
just specdown
To automatically tidy up the code in whatever way possible run
shell,skip()
just fmt
We have a docker container
shell,skip()
docker build -t "ghcr.io/purplebooth/readable-name-generator:latest"
docker run --rm -it ghcr.io/purplebooth/readable-name-generator:latest -i 1
shell,skip()
gregarious_pauli