example.xml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <KLISH
  3. xmlns="http://clish.sourceforge.net/XMLSchema"
  4. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  5. xsi:schemaLocation="http://clish.sourceforge.net/XMLSchema http://clish.sourceforge.net/XMLSchema/clish.xsd">
  6. <PLUGIN name="klish"/>
  7. <ENTRY name="COMMAND" purpose="ptype">
  8. <ENTRY name="completion" purpose="completion">
  9. <ACTION sym="completion_COMMAND"/>
  10. </ENTRY>
  11. <ACTION sym="COMMAND"/>
  12. </ENTRY>
  13. <ENTRY name="main" mode="switch" container="true">
  14. <ENTRY name="cmd" help="Clear settings" mode="sequence">
  15. <ENTRY name="COMMAND" purpose="ptype" ref="/COMMAND"/>
  16. <ACTION sym="print">test</ACTION>
  17. </ENTRY>
  18. <ENTRY name="cmd2" help="Clear settings" mode="sequence">
  19. <ENTRY name="COMMAND" purpose="ptype" ref="/COMMAND"/>
  20. <ACTION sym="print">test cmd2</ACTION>
  21. </ENTRY>
  22. <ENTRY name="command" value="comm" help="Clear settings" mode="sequence">
  23. <ENTRY name="COMMAND" purpose="ptype" ref="/COMMAND"/>
  24. <ACTION sym="print">test2</ACTION>
  25. </ENTRY>
  26. <ENTRY name="exit" help="Exit view">
  27. <ENTRY name="COMMAND" purpose="ptype" ref="/COMMAND"/>
  28. <ACTION sym="nav">pop</ACTION>
  29. <ACTION sym="print">Exiting klish session</ACTION>
  30. </ENTRY>
  31. </ENTRY>
  32. </KLISH>