7
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-06-26 00:42:35 +00:00

Add -y/--yes option to local quickstart

This commit is contained in:
Régis Behmo 2019-05-26 16:57:25 +02:00
parent ebcb08b5eb
commit b5f51687a7
2 changed files with 4 additions and 2 deletions

View File

@ -2,6 +2,7 @@
## Latest
- [Improvement] Add `-y/--yes` option to `local quickstart` for non-interactive quickstart
- [Improvement] Persist LMS/CMS logs to disk by default (with collaboration from @silviot 💪)
- [Bugfix] Fix installing a locally cloned requirement repository
- [Improvement] Add `--no-cache` option to `images build`

View File

@ -19,13 +19,14 @@ def local():
@click.command(help="Configure and run Open edX from scratch")
@click.option("-y", "--yes", "silent", is_flag=True, help="Run non-interactively")
@click.option(
"-p", "--pullimages", "pullimages_", is_flag=True, help="Update docker images"
)
@opts.root
def quickstart(pullimages_, root):
def quickstart(silent, pullimages_, root):
click.echo(fmt.title("Interactive platform configuration"))
tutor_config.save(root)
tutor_config.save(root, silent=silent)
click.echo(fmt.title("Stopping any existing platform"))
stop.callback(root)
if pullimages_: