Revision abd66bf8 lib/cli.py
b/lib/cli.py | ||
---|---|---|
2556 | 2556 |
format_override=None, verbose=False): |
2557 | 2557 |
"""Generic implementation for listing all items of a resource. |
2558 | 2558 |
|
2559 |
@param resource: One of L{constants.QR_OP_LUXI}
|
|
2559 |
@param resource: One of L{constants.QR_VIA_LUXI}
|
|
2560 | 2560 |
@type fields: list of strings |
2561 | 2561 |
@param fields: List of fields to query for |
2562 | 2562 |
@type names: list of strings |
... | ... | |
2607 | 2607 |
def GenericListFields(resource, fields, separator, header, cl=None): |
2608 | 2608 |
"""Generic implementation for listing fields for a resource. |
2609 | 2609 |
|
2610 |
@param resource: One of L{constants.QR_OP_LUXI}
|
|
2610 |
@param resource: One of L{constants.QR_VIA_LUXI}
|
|
2611 | 2611 |
@type fields: list of strings |
2612 | 2612 |
@param fields: List of fields to query for |
2613 | 2613 |
@type separator: string or None |
Also available in: Unified diff