sq ls
List data sources for active group. If GROUP is specified, list for only that group.
If --group is set, list groups instead of sources.
The source list includes all descendants of the group: direct children, and also
any further descendants.
Usage:
sq ls [GROUP]
Examples:
# List sources in active group
$ sq ls
# List sources in the "prod" group
$ sq ls prod
# List sources in the root group (will list all sources)
$ sq ls /
# List groups (all) instead of sources
$ sq ls -g
# Print verbose group details
$ sq ls -gv
# List subgroups in "prod" group
$ sq ls -g prod
Flags:
-t, --text Output text
-h, --header Print header row (default true)
-H, --no-header Don't print header row
-j, --json Output JSON
-c, --compact Compact instead of pretty-printed output
-y, --yaml Output YAML
-g, --group List groups instead of sources
--help help for ls
Global Flags:
--config string Load config from here
--debug.pprof string pprof profiling mode (default "off")
--error.format string Error output format (default "text")
-E, --error.stack Print error stack trace to stderr
--log Enable logging
--log.file string Log file path (default "/Users/neilotoole/Library/Logs/sq/sq.log")
--log.format string Log output format (text or json) (default "text")
--log.level string Log level, one of: DEBUG, INFO, WARN, ERROR (default "DEBUG")
-M, --monochrome Don't print color output
--no-progress Don't show progress bar
--no-redact Don't redact passwords in output
-v, --verbose Print verbose output