Skip to content

Commit 91f8d97

Browse files
authored
chore(cli): show default for all cli options (#26)
1 parent 49cdedc commit 91f8d97

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

manim_slides/commons.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ def config_path_option(function) -> Callable:
1414
default=CONFIG_PATH,
1515
type=click.Path(dir_okay=False),
1616
help="Set path to configuration file.",
17+
show_default=True,
1718
)(function)
1819

1920

manim_slides/present.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,7 @@ def quit(self):
434434
default=FOLDER_PATH,
435435
type=click.Path(exists=True, file_okay=False),
436436
help="Set slides folder.",
437+
show_default=True,
437438
)
438439
@click.help_option("-h", "--help")
439440
def list_scenes(folder):
@@ -467,6 +468,7 @@ def _list_scenes(folder) -> List[str]:
467468
default=FOLDER_PATH,
468469
type=click.Path(exists=True, file_okay=False),
469470
help="Set slides folder.",
471+
show_default=True,
470472
)
471473
@click.option("--start-paused", is_flag=True, help="Start paused.")
472474
@click.option("--fullscreen", is_flag=True, help="Fullscreen mode.")

0 commit comments

Comments
 (0)