mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-12 14:17:46 +00:00
Add -y/--yes
option to local quickstart
This commit is contained in:
parent
ebcb08b5eb
commit
b5f51687a7
@ -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`
|
||||
|
@ -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_:
|
||||
|
Loading…
Reference in New Issue
Block a user