Skip to content

Commit

Permalink
Added -o and --output-dir as an alias.
Browse files Browse the repository at this point in the history
It is now an alias for `-d` and `--destination`
  • Loading branch information
coordt committed Jul 24, 2023
1 parent 52772f1 commit 04f063d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cookie_composer/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ def validate_context_params(ctx: Any, param: Any, value: list) -> Optional[Order
@click.option(
"-d",
"--destination",
"-o",
"--output-dir",
required=False,
default=lambda: Path.cwd(),
type=click.Path(exists=True, dir_okay=True, file_okay=False, resolve_path=True),
Expand Down

0 comments on commit 04f063d

Please sign in to comment.