ModuleConfig.cfcfile inside it. User modules are stored in the
~/.CommandBox/cfml/modules/directory on your hard drive. Let's navigate to that folder and create a new sub directory called
test. Now inside of our new folder, create a new file called
ModuleConfig.cfcand place the following in it.
upgradecommand every time the CLI starts up to check and see if you have the latest version. Pretty cool, huh?
onCLIStart()method gets an argument called
interceptdata that has a flag for this.
checkForUpdateswhich defaults to
true. Users can set it to
falseto disable the update check. Here is the final version of the
testfolder in a Github repo and now anyone can install it in their own CommandBox installation with the
installcommand using the Git endpoint.