54e30687d4
This addresses 2 concerns: 1) When -s or --save-location is omitted for pegleg site collect command, the following error is raised: TypeError: '_io.TextIOWrapper' object is not subscriptable That is because the default kwarg for the associated option is sys.stdout [0] which returns an object not a path, causing the Click library itself to blow up. Note that this is dropped in master [1], which isn't correct, as there is a desire to use stdout as the default location for collection output. Thus, new logic is added to output the collected document data to stdout. 2) When a directory doesn't exist and -s is provided (as an example pegleg site -p /path/to/primary/dir collect <site_name> -s <non_existent_dir>) it is better to just create it via os.makedirs() than to error out with an exception [2]. [0] |
||
---|---|---|
doc | ||
images/pegleg | ||
site_yamls/site | ||
src/bin/pegleg | ||
tools | ||
.dockerignore | ||
.gitignore | ||
.gitreview | ||
.zuul.yaml | ||
LICENSE | ||
Makefile | ||
README.md | ||
tox.ini |
README.md
Pegleg
Pegleg is document aggregator that provides early linting and validations via Deckhand for documents that can be consumed by UCP. To learn more about UCP see UCP Integration
Getting Started
To get started, see getting started