cmd/cue: cue mod rename
command
#3626
Labels
FeatureRequest
New feature or request
modules
Issues related to CUE modules and the experimental implementation
It's useful to be able to rename modules, particularly when bootstrapping new modules.
In particular, the module path chosen by
cue mod init
by default is arbitrary and shouldnot be used when publishing.
We propose a new command,
cue mod rename
which will automatically renamethe current module, and also rewrite import directives in source files that import packages from
the current module so that they use the new name.
Example usage test:
For #3620
The text was updated successfully, but these errors were encountered: