# Base command-line interface
This pull request adds a base command-line interface:
- subcommands for languages:
- Python subcommand with options for allowing HTML, allowing Markdown tables, sections included, and sections excluded
- unit tests for CLI
- integration tests for CLI
`cli` is now a package instead of a module.
## Related issues
Closes #15
jakob.scheid
added this to the 0.2.0 milestone 2026-09-13 20:00:02 +02:00
The CLI now handles error that may result from user input and prints an
error message. Following error types are handled:
- file not found
- not a directory
- directory instead of file
- file exists
- permission error
- general operating system errors
- Unicode errors
- errors parsing project source code
Additionally, KeyboardInterrupt and BrokenPipeError are catched and an
appropriate exit code is returned.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Base command-line interface
This pull request adds a base command-line interface:
cliis now a package instead of a module.Related issues
Closes #15
@@ -11,2 +11,4 @@license = "Apache-2.0"[project.scripts]jcloud-docsgen = "jcloud_docsgen.cli.cli:main"Please use
jcloud_docsgen.cli:main.@@ -0,0 +16,4 @@The command line interface'''__all__ = [This is redundant.
Feature(cli): add base command-line interfaceto Feat(cli): add base command-line interface