Skip to content

Commit

Permalink
Merge pull request #140 from montblu/138-fix-tf-show
Browse files Browse the repository at this point in the history
Fix "tf show" command
  • Loading branch information
MiguelNdeCarvalho authored Mar 13, 2024
2 parents 368eb16 + 06e460f commit 67c442c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion terrabutler/click.py
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,8 @@ def tf_refresh_cli(ctx, input, lock, no_color, target, var):
def tf_show_cli(ctx, path, no_color, json):
args, options = ([] for i in range(2))

args.append(path)
if path:
args.append(path)
if no_color:
options.append("-no-color")
if json:
Expand Down

0 comments on commit 67c442c

Please sign in to comment.