global-commands.xml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <CLISH_MODULE xmlns="http://clish.sourceforge.net/XMLSchema"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://clish.sourceforge.net/XMLSchema
  5. http://clish.sourceforge.net/XMLSchema/clish.xsd">
  6. <!--=======================================================-->
  7. <COMMAND name="help"
  8. help="Display an overview of the CLI syntax">
  9. <ACTION builtin="clish_overview"/>
  10. </COMMAND>
  11. <!--=======================================================-->
  12. <COMMAND name="logout"
  13. help="Logout of the current CLI session">
  14. <ACTION builtin="clish_close"/>
  15. </COMMAND>
  16. <!--=======================================================-->
  17. <COMMAND name="top"
  18. help="Return to the default mode"
  19. view="root-view"
  20. viewid=""/>
  21. <!--=======================================================-->
  22. <COMMAND name="debug"
  23. help="Change to the debug mode"
  24. view="debug-view">
  25. <ACTION>echo "Entering debug mode..."</ACTION>
  26. </COMMAND>
  27. <!--=======================================================-->
  28. <COMMAND name="script"
  29. help="Change to the script demo mode"
  30. view="script-view"/>
  31. <!--=======================================================-->
  32. <COMMAND name="history"
  33. help="Display the current session's command line history">
  34. <PARAM name="limit"
  35. help="Set the size of history list (zero means unbounded)"
  36. ptype="UINT"
  37. default=""/>
  38. <ACTION builtin="clish_history">${limit}</ACTION>
  39. </COMMAND>
  40. <!--=======================================================-->
  41. </CLISH_MODULE>