Skip to content

Commit

Permalink
Add command to navigate to config directory (#5054)
Browse files Browse the repository at this point in the history
  • Loading branch information
ofek authored Nov 21, 2019
1 parent 68f9db9 commit cc5bafc
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ def config():
pass


@config.command(context_settings=CONTEXT_SETTINGS, short_help='Open the config location in your file manager')
def explore():
"""Open the config location in your file manager."""
click.launch(CONFIG_FILE, locate=True)


@config.command(context_settings=CONTEXT_SETTINGS, short_help='Show the location of the config file')
def find():
"""Show the location of the config file."""
Expand Down

0 comments on commit cc5bafc

Please sign in to comment.