Skip to content

Commit

Permalink
feat: rename --run-directory to --cwd
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulFarault committed Jul 18, 2024
1 parent 84fd5d3 commit 95f6816
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tdp/cli/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ def load_env(ctx: click.Context, param: click.Parameter, value: Path) -> Optiona
help="Set the level of log output.",
)
@click.option(
"--run-directory",
envvar="TDP_RUN_DIRECTORY",
"--cwd",
envvar="TDP_CWD",
type=click.Path(resolve_path=True, exists=True),
help="Working directory where the executor is launched (`ansible-playbook` for Ansible).",
help="Current working directory, where the command will be executed.",
required=True,
callback=lambda ctx, param, value: chdir(value),
expose_value=False,
Expand Down

0 comments on commit 95f6816

Please sign in to comment.