Revision 939ef0f6 kamaki/cli/commands/image_cli.py

b/kamaki/cli/commands/image_cli.py
119 119

  
120 120

  
121 121
@command(image_cmds)
122
class image_test(_init_image):
123
    """Test stuff"""
124

  
125
    def __init__(self, arguments={}):
126
        super(self.__class__, self).__init__(arguments)
127
        self.arguments['props'] = KeyValueArgument('prop', '--prop')
128

  
129
    def main(self):
130
        print self.get_argument('props')
131
        print('OK...')
132

  
133

  
134
@command(image_cmds)
135 122
class image_register(_init_image):
136 123
    """(Re)Register an image
137 124
        call with --update or without an image name to update image properties

Also available in: Unified diff