Skip to content

Commit 80e818d

Browse files
committed
add default value False for include_submodules option in CLI entry point
1 parent d2d5eda commit 80e818d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/gitingest/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ def main(
6868
exclude_pattern: Tuple[str, ...],
6969
include_pattern: Tuple[str, ...],
7070
branch: Optional[str],
71-
include_submodules: bool,
7271
include_gitignored: bool,
7372
token: Optional[str],
73+
include_submodules: bool = False,
7474
):
7575
"""
7676
Main entry point for the CLI. This function is called when the CLI is run as a script.
@@ -123,9 +123,9 @@ async def _async_main(
123123
exclude_pattern: Tuple[str, ...],
124124
include_pattern: Tuple[str, ...],
125125
branch: Optional[str],
126-
include_submodules: bool,
127126
include_gitignored: bool,
128127
token: Optional[str],
128+
include_submodules: bool = False,
129129
) -> None:
130130
"""
131131
Analyze a directory or repository and create a text dump of its contents.

0 commit comments

Comments
 (0)