commandbox.system.modules_app.system-commands.commands

Class clipboard

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

Stores text inputted into OS clipboard. . {code:bash} echo "Hello World!" | clipboard {code} . Output the text and copy it to the clipboard with the --echo flag . {code:bash} ls --tree | clipboard --echo {code}

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

    Method Detail

    run

    public any run([String text=''], [Boolean echo='false'])

    Parameters:
    text - The text to store on clipboard
    echo - Echo text out to console as well