commandbox.system.modules_app.system-commands.commands

Class unansi

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

Outputs the text entered but with ANSI formatting stripped. Useful when you want to pipe output into a command which doesn't understand or need ANSI formatting. . {code:bash} package show | unansi {code}

Class Attributes:
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Method Summary
    any run([String text=''])
     
    Methods inherited from class lucee.Component
    None

    Method Detail

    run

    public any run([String text=''])

    Parameters:
    text - The text to output without ANSI formatting