sq mv
Move/rename sources and groups.
The mv command works analogously to the UNIX "mv" command, where
source handles are files, and groups are directories.
Usage:
sq mv OLD NEW
Examples:
# Rename a source
$ sq mv @sakila_postgres @sakila_pg
@sakila_pg
# Move a source into a group (same as renaming)
$ sq mv @sakila_pg @sakila/pg
@sakila/pg
# Move a source into a group, keep current name
$ sq mv @sakila/pg prod
@prod/pg
# Rename the group "production" to "prod". This will rename
# any sources already in that group.
$ sq mv production 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
--help help for mv
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