Версия №1

This commit is contained in:
GafarovaGG
2022-05-24 17:52:25 +05:00
commit b2d0495866
808 changed files with 6827 additions and 0 deletions

View File

@ -0,0 +1,30 @@
import click
from app.mkdocs import common
"""CLI commands interface
These are the primitive operation wrappers that the CLI
will expose and be available to invoke.
In order to do so, the comprehensive Click library is used to
create commands, subcommands, parameters, flags...
.. _Click CLI library docs:
https://click.palletsprojects.com/en/7.x/#documentation
"""
@click.group(chain=True)
def cli() -> None:
"""
Bootstrap CLI
"""
@cli.command('start', help='Start Application')
def start():
common.start()
@cli.command('update', help='Update documentation code from repository')
def update():
common.update_repo()