Skip to content
This repository has been archived by the owner on Jul 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #47 from michalkielan/add_env_var
Browse files Browse the repository at this point in the history
Add option to override default catalog path
  • Loading branch information
deadc0de6 authored Jan 30, 2024
2 parents 8788ba8 + bbfb60f commit d8eae30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion catcli/catcli.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

NAME = 'catcli'
CUR = os.path.dirname(os.path.abspath(__file__))
CATALOGPATH = f'{NAME}.catalog'
CATALOGPATH = os.getenv('CATCLI_CATALOG_PATH', f'{NAME}.catalog')
GRAPHPATH = f'/tmp/{NAME}.dot'
FORMATS = ['native', 'csv', 'csv-with-header', 'fzf-native', 'fzf-csv']

Expand Down

0 comments on commit d8eae30

Please sign in to comment.