skip to content
ccdocs

cc module

Update the module list for your active environment.

Usage

cc module

Opens 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

FlagDescription
-r, --replaceReplace the full module list instead of adding to it
-i, --installSet launch mode to install (-i)
-u, --updateSet 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 -i
Select modules to upgrade:
  [x] acme_memberships
  [ ] acme_approvals
  [x] acme_pos_internal

After saving, launch.json picks up the new module list and init mode automatically — no manual edit needed.

On this page