sq group
Get or set active group. If no argument provided, get the active group.
Otherwise, set GROUP as the active group. An error is returned if GROUP does
not exist.
Use 'sq ls -g' to list groups.
Usage:
sq group [GROUP]
Examples:
# Get active group ("dev" in this case).
$ sq group
dev
# Set "prod" as active group
$ sq group prod
prod
# Reset to the root group
$ sq group /
/
Flags:
-t, --text[=true|false] Output text
-h, --header[=true|false] Print header row (default true)
-H, --no-header[=true|false] Don't print header row
-j, --json[=true|false] Output JSON
-c, --compact[=true|false] Compact instead of pretty-printed output
-y, --yaml[=true|false] Output YAML
--help[=true|false] help for group
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[=true|false] Print error stack trace to stderr
--expand[=true|false] Resolve ${scheme:path} placeholders to their underlying values
--log[=true|false] Enable logging
--log.file string Log file path (default "$HOME/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[=true|false] Don't print color output
--no-progress[=true|false] Don't show progress bar
--no-redact[=true|false] Don't redact passwords in output (deprecated, use --reveal)
--reveal[=true|false] Show secret values in output (don't redact passwords; print keyring values)
-v, --verbose[=true|false] Print verbose output