Revision 7699c3af lib/cli.py
b/lib/cli.py | ||
---|---|---|
252 | 252 |
ARGS_ONE_NODE = [ArgNode(min=1, max=1)] |
253 | 253 |
|
254 | 254 |
|
255 |
|
|
256 | 255 |
def _ExtractTagsObject(opts, args): |
257 | 256 |
"""Extract the tag type object. |
258 | 257 |
|
... | ... | |
313 | 312 |
|
314 | 313 |
""" |
315 | 314 |
kind, name = _ExtractTagsObject(opts, args) |
316 |
op = opcodes.OpGetTags(kind=kind, name=name)
|
|
317 |
result = SubmitOpCode(op)
|
|
315 |
cl = GetClient()
|
|
316 |
result = cl.QueryTags(kind, name)
|
|
318 | 317 |
result = list(result) |
319 | 318 |
result.sort() |
320 | 319 |
for tag in result: |
Also available in: Unified diff