cli: also load plugins from ~/.koji/plugins
- add plugin_path in koji.conf - add `--plugin-paths` in cli arguments fixes: #887
This commit is contained in:
parent
73e1a6abad
commit
ded43dec53
6 changed files with 59 additions and 17 deletions
5
tests/test_cli/data/plugins2/plugin2.py
Normal file
5
tests/test_cli/data/plugins2/plugin2.py
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
from koji.plugin import export_cli
|
||||
|
||||
@export_cli
|
||||
def foo5():
|
||||
pass
|
||||
7
tests/test_cli/data/plugins2/plugin3.py
Normal file
7
tests/test_cli/data/plugins2/plugin3.py
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
from koji.plugin import export_cli, export_as
|
||||
|
||||
@export_as('foo6')
|
||||
@export_cli
|
||||
def foo():
|
||||
pass
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue