Using Parameters
Dynamic Parameters
package set foo=barFile System Paths As Parameters
component extends="commandbox.system.BaseCommand" {
function run( String directory ) {
// This will make each directory canonical and absolute
arguments.directory = resolvePath( arguments.directory );
return arguments.directory;
}
}Last updated
Was this helpful?