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