adjust cli plugin config description
This commit is contained in:
parent
ded43dec53
commit
1ec14ec5dc
8 changed files with 52 additions and 36 deletions
0
tests/test_cli/data/cli_plugins1/not_plugin.omg
Normal file
0
tests/test_cli/data/cli_plugins1/not_plugin.omg
Normal file
25
tests/test_cli/data/cli_plugins1/plugin1.py
Normal file
25
tests/test_cli/data/cli_plugins1/plugin1.py
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
from __future__ import absolute_import
|
||||
from koji.plugin import export_cli, export_as
|
||||
|
||||
|
||||
@export_as('foobar')
|
||||
@export_cli
|
||||
def foo():
|
||||
pass
|
||||
|
||||
|
||||
@export_cli
|
||||
def foo2():
|
||||
pass
|
||||
|
||||
|
||||
def foo3():
|
||||
pass
|
||||
|
||||
|
||||
foo4 = 'foo4'
|
||||
|
||||
|
||||
class bar():
|
||||
pass
|
||||
|
||||
1
tests/test_cli/data/cli_plugins1/plugin2.py
Normal file
1
tests/test_cli/data/cli_plugins1/plugin2.py
Normal file
|
|
@ -0,0 +1 @@
|
|||
sth = 123
|
||||
Loading…
Add table
Add a link
Reference in a new issue