Include sub-command help in documentation.
This commit is contained in:
parent
8fc4efff88
commit
cd91dbd4f7
4 changed files with 12 additions and 2 deletions
|
|
@ -2,7 +2,10 @@ FROM python:3.7.3-alpine3.9 as borgmatic
|
|||
|
||||
COPY . /app
|
||||
RUN pip install --no-cache /app && generate-borgmatic-config && chmod +r /etc/borgmatic/config.yaml
|
||||
RUN borgmatic --help > /command-line.txt
|
||||
RUN borgmatic --help > /command-line.txt \
|
||||
&& for action in init prune create check extract list info; do \
|
||||
echo -e "\n--------------------------------------------------------------------------------\n" >> /command-line.txt \
|
||||
&& borgmatic "$action" --help >> /command-line.txt; done
|
||||
|
||||
FROM node:11.15.0-alpine as html
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue