Repairing all the things, after breaking all the stuff
This commit is contained in:
parent
0e4facacd4
commit
e6c5810bdc
|
@ -64,6 +64,7 @@ def cli():
|
|||
|
||||
@cli.command(help="Generate markdown usage description.")
|
||||
@click.argument("poetry_project_file", type=click.File(), default="pyproject.toml")
|
||||
@click.pass_context
|
||||
def run(ctx, poetry_project_file):
|
||||
contents = toml.loads(poetry_project_file.read())
|
||||
try:
|
||||
|
|
|
@ -7,7 +7,7 @@ if [[ ! -z "$VIRTUAL_ENV" ]]
|
|||
then
|
||||
while read -d $'\0' arg ; do
|
||||
if [[ "$arg" == '--follow-tags' ]] ; then
|
||||
clickusagemd ${GIT_DIR}pyproject.toml || exit 1
|
||||
clickusagemd run ${GIT_DIR}pyproject.toml || exit 1
|
||||
git add ${GIT_DIR}USAGE.md || exit 1
|
||||
git commit -m"Autogenerated USAGE.md updated and added."
|
||||
exit 0
|
||||
|
|
Loading…
Reference in New Issue