Blog

Brad Wood

January 03, 2018

Spread the word


Share your thoughts

The package link and package unlink commands are fairly new to CommandBox and here's a brief screencast that shows you a real life use case for them.  The package link command will create a symlink from your current directory into your CommandBox's system modules folder and reload your shell. 

This is perfect to do some quick on-the-fly testing of a module that you're in the middle of developing without requiring you to publish your module or do a full installation every time you make a chance.  Just link the module in and you can test live changes as you edit the code.

Even though I didn't show it in the video, you can also use the link command to link your current working directory to a specific target location like a ColdBox or ContentBox app.  This also lets you do quick and easy testing of modules inside of a web application as well.

Here's the screencast:

Add Your Comment

Recent Entries

Ortus Content Digest for week of August 19th

Ortus Content Digest for week of August 19th

It's August 19th... Into the Box is approaching fast, what has Ortus been publishing this week? We have the CFML News Podcast, some CFCasts and YouTube Videos, lots of Ortus and ITB Blog Posts. We have a lot more planned for next week as well.

Gavin Pickin
Gavin Pickin
August 19, 2022
Integrating ColdBox with Existing Code Series 5: Using Wirebox

Integrating ColdBox with Existing Code Series 5: Using Wirebox

Recently, I did a webinar on Refactoring Legacy Code and the question came up about whether or not it was possible to use ColdBox with existing code without converting everything to a ColdBox module or making changes to the existing codebase. In the first installation in this series, we took a tour of the various elements which make up ColdBox. In the second installation, we looked at creating layouts, views, and routes in the main site. In the third, we created a module and did the first integration of our existing code into our ColdBox site. In the fourth, we continued developing our module with a handler and passing variable back to Coldbox. Now we'll use Wirebox with and without ColdBox Modules to see how these approaches differ from a traditional approach.

Dan Card
Dan Card
August 18, 2022
Ortus Content Digest for week of August 12th

Ortus Content Digest for week of August 12th

It's August 12th... what has Ortus been publishing this week? We have the CFML News Podcast, some CFCasts and YouTube Videos, lots of Ortus and ITB Blog Posts. We have a lot more planned for next week as well.

Gavin Pickin
Gavin Pickin
August 12, 2022