This command is not yet available in the latest CUE release.
TERMINAL
$ cue help refactor
This command groups together commands relating
to altering code within the current CUE module.
Usage:
cue refactor <cmd> [arguments] [flags]
Global Flags:
-E, --all-errors print all available errors
-i, --ignore proceed in the presence of errors
-s, --simplify simplify output
--trace trace computation
-v, --verbose print information about progress