Command Line Interface#
Command line options for app
python -m app [OPTIONS] photoDirectory
Options#
| Option | Type | Description | Default | Choices |
|---|---|---|---|---|
photoDirectory |
PosixPath | Path to the directory containing photos (absolute, or relative to this config.ini file) | required | - |
--startDate |
datetime | Start date of the calendar | datetime.datetime(2025, 12, 29, 0, 0) | - |
--width |
int | Width of the collage in mm | 216 | - |
--height |
int | Height of the collage in mm | 154 | - |
--dpi |
int | Resolution of the image in dpi | 300 | - |
Examples#
1. Basic usage#
python -m app photoDirectory
2. With verbose logging#
python -m app -v photoDirectory
python -m app --verbose photoDirectory
3. With quiet mode#
python -m app -q photoDirectory
python -m app --quiet photoDirectory
4. With startDate parameter#
python -m app --startDate 2025-12-29 00:00:00 photoDirectory
5. With width parameter#
python -m app --width 216 photoDirectory
6. With height parameter#
python -m app --height 154 photoDirectory