mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-14 16:26:13 +01:00
Daniel Mach
26a8fb1acf
This is based on a prototype we've worked on together with Laurin Fäller <laurin.faeller@suse.com>.
19 lines
376 B
Python
19 lines
376 B
Python
import osc.commandline
|
|
|
|
|
|
class RequestCommand(osc.commandline.OscCommand):
|
|
"""
|
|
Manage requests
|
|
"""
|
|
|
|
name = "request"
|
|
aliases = ["rq"]
|
|
|
|
# arguments specified here will get inherited to all subcommands automatically
|
|
def init_arguments(self):
|
|
self.add_argument(
|
|
"-m",
|
|
"--message",
|
|
metavar="TEXT",
|
|
)
|