Reference
ChewPy This module serves as the main entry point for the ChewPy CLI application.
It initializes secret configuration, sets up logging based on environment variables, and launches the command-line interface using Typer. Logging is handled via Loguru, and secrets are managed through utility functions.
Typical usage
python -m chewpy uv run python -m chewpy
Functions:
Name | Description |
---|---|
main |
Initializes configuration and runs the CLI app. |
main()
Main entry point for the CLI.
Source code in src/chewpy/__init__.py
Translator
CLI Commands for Translator
Features:
- Subtitle merging
subtitles_merge(source_01_path, source_02_path)
Merges two subtitle files.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
source_01_path
|
Path
|
The path to the first subtitle file. |
required |
source_02_path
|
Path
|
The path to the second subtitle file. |
required |