stash list-collections \ [--json]
--json(optional) if specified, then output will be in JSON format, rather than a human-readable table.
List all collections in the workspace:
$ stash list-collections Name ------ users movies preferences
List all collections in the workspace, providing the output as a JSON list:
$ stash list-collections --json [ "users", "movies", "preferences" ]
The exit status will be
0 if the list of collections was successfully retrieved and displayed.
An exit status of
1 indicates a failure to retrieve the collection list, most likely because the credentials were invalid or the server was unavailable.
Whenever a non-zero exit status is returned, a helpful error message is printed to standard error.