Skip to content

Commit

Permalink
Added help for --keep
Browse files Browse the repository at this point in the history
  • Loading branch information
hija committed Apr 14, 2024
1 parent fa7761a commit 9d9028e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion clean_dotenv/_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,13 @@ def main():
help="Root path in which .env files shall be looked for",
default=os.getcwd(),
)
parser.add_argument("-k", "--keep", nargs="*", default=[])
parser.add_argument(
"-k",
"--keep",
nargs="*",
help="Variables which shall not be cleaned by clean-dotenv. Separate values by space.",
default=[],
)

args = parser.parse_args()
_main(path_to_root=args.root_path, values_to_keep=args.keep)
Expand Down

0 comments on commit 9d9028e

Please sign in to comment.