commandbox.system.modules_app.system-commands.commands

Class printColumns

lucee.Component
    extended by commandbox.system.modules_app.system-commands.commands.printColumns

Prints a list or array of information as columns JSON or list data can be passed in the first param or piped into the command: {code:bash} printColumns [1,2,3] ls --simple | printColumns {code}

Class Attributes:
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Method Summary
    string run([String data=''], [String delimiter='[runtime expression]'])
         Outputs a list of items in column form.
     
    Methods inherited from class lucee.Component
    None

    Method Detail

    run

    public string run([String data=''], [String delimiter='[runtime expression]'])

    Outputs a list of items in column form

    Parameters:
    data - JSON serialized array or list
    delimiter - List delimiter (default to new line)