debug-view.xml 1003 B

1234567891011121314151617181920212223242526272829
  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. <VIEW name="debug-view" prompt="debug&gt; ">
  7. <COMMAND name="sh"
  8. help="launch a full shell">
  9. <ACTION>bash</ACTION>
  10. </COMMAND>
  11. <COMMAND name="ps"
  12. help="give details of current processes">
  13. <ACTION>ps -f</ACTION>
  14. </COMMAND>
  15. <COMMAND name="ls"
  16. help="List the files in the current directory">
  17. <ACTION>echo ${PWD};ls -F -l -a</ACTION>
  18. </COMMAND>
  19. <COMMAND name="exit"
  20. help="Go back to main menu"
  21. view="root-view">
  22. <ACTION>echo "Leaving diagnostic mode..."</ACTION>
  23. </COMMAND>
  24. </VIEW>
  25. </CLISH_MODULE>