The listresource
tool allows to list and search for resources within a given context.
-h,--help | Prints a help text |
--environment | Show info about commandline environment |
--nonl | Remove all newlines (\n) from output |
-c,--contextid <integer> | The id of the context |
--csv | Format output as csv |
-s,--searchpattern <string> | The search pattern which is used for listing |
-A,--adminuser <string> | Context Admin user name |
-P,--adminpass <string> | Context Admin password |
Standard output:
id | name | displayname | description | available | |
6 | laptop | "Super Laptop" | "laptop for rent" | laptop@example.com | true |
csv output:
id,name,displayname,email,available