Skip to content

Commit 8e65959

Browse files
committed
Cosmetics
1 parent f3c4322 commit 8e65959

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# pdfbaker
22

3-
Creates PDF documents from YAML-configured SVG templates.
3+
Create PDF documents from YAML-configured SVG templates.
44

55
## Installation
66

@@ -30,7 +30,6 @@ pipx ensurepath
3030

3131
- If you want to compress any of your PDFs, you will need to install
3232
[Ghostscript](https://www.ghostscript.com/):
33-
3433
```
3534
sudo apt install ghostscript
3635
```
@@ -40,7 +39,7 @@ pipx ensurepath
4039
Generate your documents with:
4140

4241
```
43-
pdfbaker bake <path_to_config_file>
42+
pdfbaker bake <config_file>
4443
```
4544

4645
This will create a `build/` directory and a `dist/` directory where your configuration

src/pdfbaker/__main__.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,11 @@ def cli():
2222

2323

2424
@cli.command()
25-
@click.argument("config_file", metavar="<config_file>", type=click.Path(exists=True, path_type=Path))
26-
@click.option(
27-
"-v", "--verbose", is_flag=True,
28-
help="Show debug information"
29-
)
30-
@click.option(
31-
"-q", "--quiet", is_flag=True,
32-
help="Show errors only"
25+
@click.argument(
26+
"config_file", metavar="<config_file>", type=click.Path(exists=True, path_type=Path)
3327
)
28+
@click.option("-v", "--verbose", is_flag=True, help="Show debug information")
29+
@click.option("-q", "--quiet", is_flag=True, help="Show errors only")
3430
def bake(config_file, verbose=False, quiet=False):
3531
"""Parse config file and bake PDFs."""
3632
if quiet:

0 commit comments

Comments
 (0)