Skip to content
Myr

:memo: Update docs for app_dir using Path

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Sebastián Ramírez · committed by Sebastián Ramírez · parent d1970da · Browse files · 2 files+9 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+9 added−1 removed

  • other:+9 added−1 removed

2 files+9 added−1 removed

modified:docs/src/app_dir/tutorial001.py+1 added-1 removed
5 unmodified lines
678def main():9 app_dir = typer.get_app_dir(APP_NAME)10 config_path = Path(app_dir) / "config.json"10 config_path: Path = Path(app_dir) / "config.json"11 if not config_path.is_file():12 typer.echo("Config file doesn't exist yet")1314
2 unmodified lines
modified:docs/tutorial/app-dir.md+8 added