Passing Parameters
component{
function greet( string name, boolean verbose ){
print.line( 'Well, hello there #name#!' );
if( verbose ) {
print.line( "You're looking quite well today." );
}
}
}Positional
task run fun greet Brad falseNamed
task run taskFile=fun target=greet :name=Brad :verbose=falseFlags
Mix it up
Was this helpful?