зеркало из https://github.com/microsoft/azure-cli.git
lint and tests
This commit is contained in:
Родитель
120165c2d9
Коммит
a53071d2e7
|
@ -232,11 +232,13 @@ Command
|
|||
|
||||
Arguments
|
||||
--foobar2 -fb2 [Required]: one line partial sentence
|
||||
paragraph(s)
|
||||
--foobar -fb : one line partial sentence
|
||||
text, markdown, etc.
|
||||
paragraph(s)
|
||||
|
||||
--foobar -fb : one line partial sentence
|
||||
text, markdown, etc.
|
||||
|
||||
Values from: az vm list, default
|
||||
|
||||
Values from: az vm list, default
|
||||
--foobar3 -fb3 : the foobar3
|
||||
--help -h : show this help message and exit
|
||||
'''
|
||||
|
@ -295,11 +297,13 @@ Command
|
|||
|
||||
Arguments
|
||||
--foobar2 -fb2 [Required]: one line partial sentence
|
||||
paragraph(s)
|
||||
--foobar -fb : one line partial sentence
|
||||
text, markdown, etc.
|
||||
paragraph(s)
|
||||
|
||||
--foobar -fb : one line partial sentence
|
||||
text, markdown, etc.
|
||||
|
||||
Values from: az vm list, default
|
||||
|
||||
Values from: az vm list, default
|
||||
--help -h : show this help message and exit
|
||||
Examples
|
||||
foo example
|
||||
|
|
|
@ -195,8 +195,8 @@ vm_param_aliases = {
|
|||
},
|
||||
}
|
||||
|
||||
class VMImageFieldAction(argparse.Action):
|
||||
def __call__(self, parser, namespace, values, option_string = None):
|
||||
class VMImageFieldAction(argparse.Action): #pylint: disable=too-few-public-methods
|
||||
def __call__(self, parser, namespace, values, option_string=None):
|
||||
image = values
|
||||
match = re.match('([^:]*):([^:]*):([^:]*):([^:]*)', image)
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче