summaryrefslogtreecommitdiffstats
path: root/testapi/testapi-client/testapiclient/command.py
blob: 7dba312be853c9b0844f88dd10acb0f19722175e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
from cliff import command


class Command(command.Command):
    def get_parser(self, prog_name):
        parser = super(Command, self).get_parser(prog_name)
        parser.add_argument('-u',
                            type=str,
                            help='Username for authentication')
        parser.add_argument('-p',
                            type=str,
                            help='Password for authentication')

        return parser


class Lister(command.Command):
    pass


class ShowOne(command.Command):
    pass