fix maintenance

This commit is contained in:
VirtuBox
2019-03-25 10:05:20 +01:00
parent e823492915
commit 8ad070306b
5 changed files with 11 additions and 32 deletions

View File

@@ -11,7 +11,7 @@ _wo_complete()
# SETUP THE BASE LEVEL (everything after "wo")
if [ $COMP_CWORD -eq 1 ]; then
COMPREPLY=( $(compgen \
-W "stack site debug clean secure import-slow-log log update sync info --version --help --quiet" \
-W "stack site debug clean secure import-slow-log log update sync info maintenance --version --help --quiet" \
-- $cur) )

View File

@@ -0,0 +1,8 @@
### Example Plugin Configuration for WordOps
[maintenance]
### If enabled, load a plugin named `example` either from the Python module
### `wo.cli.plugins.example` or from the file path
### `/var/lib/wo/plugins/example.py`
enable_plugin = true