Blog

Package Wizard

Luis Majano February 27, 2015

Spread the word

Luis Majano

February 27, 2015

Spread the word


Share your thoughts

One of my personal favorites of CommandBox is the introduction of step-by-step wizards for some complication creation processes like a new package or a new ColdBox application.  It will take you by the hand and never let you go :) Here is the way to initialize a new package with our nice wizard:. First let's go into our interactive shell by typing box or opening the box binary.

 


mkdir myApp
cd myApp
init --wizard

 

This triggers the wizard and you will be asked a series of questions and finally create a box.json for you. Here is the wizard output:

 

 

Then we can get the output of the file and verify it:


{
    "name":"My Awesome Package",
    "version":"1.0.0",
    "author":"Luis Majano",
    "location":"",
    "directory":"",
    "createPackageDirectory":true,
    "packageDirectory":"",
    "homepage":"www.ortussolutions.com",
    "documentation":"",
    "repository":{
        "type":"",
        "url":""
    },
    "bugs":"",
    "slug":"my-package",
    "shortDescription":"An awesome package",
    "description":"",
    "instructions":"",
    "changelog":"",
    "type":"",
    "keywords":"awesome,
    geek,
    app",
    "private":false,
    "engines":[
        {
            "type":"railo",
            "version":">=4.1.x"
        },
        {
            "type":"adobe",
            "version":">=10.0.0"
        }
    ],
    "defaultEngine":"",
    "defaultPort":0,
    "projectURL":"",
    "license":[
        {
            "type":"",
            "url":""
        }
    ],
    "contributors":[
        
    ],
    "dependencies":{
        
    },
    "devDependencies":{
        
    },
    "installPaths":{
        
    },
    "ignore":[
        "**/.*",
        "test",
        "tests"
    ],
    "testbox":{
        "runner":[
            {
                "default":""
            }
        ],
        "labels":[
            
        ],
        "reporter":"",
        "reporterResults":"",
        "bundles":[
            ""
        ],
        "directory":{
            "mapping":"",
            "recurse":true
        },
        "watchers":[
            
        ],
        "notify":{
            "emails":[
                
            ],
            "growl":"",
            "url":""
        }
    }
}

 

Add Your Comment

Recent Entries

MatchBox and WebAssembly: Running BoxLang in the Browser and at the Edge

MatchBox and WebAssembly: Running BoxLang in the Browser and at the Edge

The MatchBox open beta is live at https://boxlang.ortusbooks.com/boxlang-framework/matchbox, and it brings something genuinely new to the BoxLang ecosystem: a path into WebAssembly.

That means BoxLang code can now move into browser applications, static-site deployments, edge runtimes, and WASI-style containers - without requiring a JVM. The feature is still beta, but the core direction is already useful: write BoxLang, compile it with MatchBox, and ship the generated WASM artifact to wherever a small portable runtime makes sense.

Jacob Beers
Jacob Beers
June 04, 2026
BoxLang 1.14.0 : BoxSet is Here: BoxLang's New First-Class Set Type

BoxLang 1.14.0 : BoxSet is Here: BoxLang's New First-Class Set Type

BoxLang 1.14.0 ships something that JVM developers have wanted for a long time: a true first-class Set type baked directly into the language. Not a wrapper you reach for manually, not a createObject( "java", "java.util.HashSet" ) incantation you paste from a Stack Overflow answer years ago. A real BoxSet with literal syntax, operator overloads, a full functional pipeline, change listeners, JSON serialization, and deep Java interop.

Luis Majano
Luis Majano
June 03, 2026
BoxLang 1.14.0 : Sets, Ranges, Inner Classes, and a Runtime That Talks Back

BoxLang 1.14.0 : Sets, Ranges, Inner Classes, and a Runtime That Talks Back

BoxLang has never stood still, but 1.14.0 is something different. This is the release where the language stops filling gaps and starts defining what a modern dynamic JVM language looks like on its own terms. Sixty-five issues closed. Four innovative language features. A formatter that has grown up. And a companion module - bx-mcp - that fundamentally changes how you operate a running BoxLang application with AI.

Luis Majano
Luis Majano
June 03, 2026