Icon

This is the documentation for an older version of Qube. The latest version of the documentation can be found here: Qube

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

It is common to edit the default values of the SimpleCmd parameters to tailor them to your site. This can be done by opening up the associated .py file under simplecmds (see above for locationSimpleCmds Location) and then adjusting the default= values for the options.

...

1. Locate the simplecmds directory (

...

SimpleCmds Location)
2. Open the associated .py file in a text editor
3. Adjust the default values of the options specified by add_option. For example, change

cmdjob.add_option( 'message', 'string', 'Message to echo', default="Default message", required=True )

to something like:

cmdjob.add_option( 'message', 'string', 'Message to echo', default="MY NEW DEFAULT VALUE", required=True )

...

4. Go to File > "Reload SimpleCmds" -or- Re-launch the QubeGUI

...