General Input
Config

geni config path

Print the absolute path to the config file.

geni config path

Prints the absolute path the CLI reads + writes for geni config. Useful for cat, vim, and shell substitutions:

cat $(geni config path)
vim $(geni config path)

Honors $GENI_CONFIG_DIR like every other path the CLI uses. Defaults to ~/.config/geni/config.json.

Output

/Users/jack/.config/geni/config.json

The file may not exist yet, path always prints what it would be, regardless of whether anything's been written.

Exit codes

CodeMeaning
0Printed

On this page