Skip to content

Commit

Permalink
fix completion generation (linode#608)
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Chen <rui@chenrui.dev>
  • Loading branch information
chenrui333 authored May 2, 2024
1 parent 77b7e8c commit 544ba0d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion linodecli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@

# if any of these arguments are given, we don't need to prompt for configuration
skip_config = (
any(c in argv for c in ["--skip-config", "--help", "--version"])
any(
c in argv
for c in ["--skip-config", "--help", "--version", "completion"]
)
or TEST_MODE
)

Expand Down

0 comments on commit 544ba0d

Please sign in to comment.