cc module
Update the module list for your active environment.
Usage
cc moduleOpens an interactive checkbox selector showing all modules in the active project. Your selection is saved to the environment and written to .vscode/settings.json as cc.modules. The launch.json uses ${config:cc.modules} and ${config:cc.initMode} to pick this up automatically.
Flags
| Flag | Description |
|---|---|
-r, --replace | Replace the full module list instead of adding to it |
-i, --install | Set launch mode to install (-i) |
-u, --update | Set launch mode to update (-u) |
-i and -u can be combined with module names or the interactive picker. Omitting both leaves the current cc.initMode unchanged.
Example
cc module # add modules, keep current launch mode
cc module -r # replace the full module list
cc module -i # pick modules to install (sets cc.initMode=-i)
cc module -u sale # add sale module, set launch mode to -u
cc module -i purchase # add purchase module, set launch mode to -iSelect modules to upgrade:
[x] acme_memberships
[ ] acme_approvals
[x] acme_pos_internalAfter saving, launch.json picks up the new module list and init mode automatically — no manual edit needed.