cmd/cue: stop creating cue.mod/pkg and cue.mod/usr in `cue mod init`
Placing packages in cue.mod/pkg predates the introduction of
CUE modules and OCI-based module registries,
as documented in https://cuelang.org/docs/reference/modules/.
Nowadays, rather than manually placing packages in cue.mod/pkg,
the user is expected to `cue mod get` dependencies
and have them transparently fetched into ${CUE_CACHE_DIR}/mod.
Hence, most CUE users creating new modules should not need cue.mod/pkg.
Creating the directory at this point is more likely to confuse
new CUE users rather than be helpful, and if anyone does still need
to use the old dependency mechanism, it's easy to create one directory.
The same goes for cue.mod/usr, which was used to unify with packages
present in cue.mod/pkg.
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Change-Id: I5b915f1b601ec2e5279c180c97aaf2af9eb3a7a6
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1215475
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Reviewed-by: Roger Peppe <rogpeppe@gmail.com>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>