ModuleConfig.cfc
file 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.cfc
and place the following in it.upgrade
command 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 intercept
data that has a flag for this.checkForUpdates
which defaults to true
. Users can set it to false
to disable the update check. Here is the final version of the ModuleConfig.cfc
:test
folder in a Github repo and now anyone can install it in their own CommandBox installation with the install
command using the Git endpoint.