diff --git a/cleantoots/commands/config.py b/cleantoots/commands/config.py index 9bb4cd1..58af968 100644 --- a/cleantoots/commands/config.py +++ b/cleantoots/commands/config.py @@ -76,6 +76,13 @@ def edit(config: CleanTootsConfig): click.secho("Not running in a terminal, can't open file.", fg="red") +@config_command.command() +@click.pass_obj +def path(config: CleanTootsConfig): + """Print config path and exit.""" + click.echo(config.dir) + + @config_command.command() @click.option( "-m",