1
0

example.xml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. <ENTRY name="help" purpose="help">
  12. <ACTION sym="completion_COMMAND"/>
  13. </ENTRY>
  14. <ACTION sym="COMMAND"/>
  15. </ENTRY>
  16. <ENTRY name="main" mode="switch" container="true">
  17. <ENTRY name="exit" help="Exit view">
  18. <ENTRY name="COMMAND" purpose="ptype" ref="/COMMAND"/>
  19. <ACTION sym="nav">pop</ACTION>
  20. <ACTION sym="print">Exiting klish session</ACTION>
  21. </ENTRY>
  22. <ENTRY name="cmd" help="Clear settings" mode="sequence">
  23. <ENTRY name="COMMAND" purpose="ptype" ref="/COMMAND"/>
  24. <ENTRY name="first" help="Clear settings">
  25. <ENTRY name="COMMAND" purpose="ptype" ref="/COMMAND"/>
  26. </ENTRY>
  27. <ACTION sym="print">test</ACTION>
  28. </ENTRY>
  29. <ENTRY name="cmd2" help="Clear settings" mode="sequence">
  30. <ENTRY name="COMMAND" purpose="ptype" ref="/COMMAND"/>
  31. <ACTION sym="print">test cmd2</ACTION>
  32. </ENTRY>
  33. <ENTRY name="comm" value="command" help="Clear settings" mode="sequence">
  34. <ENTRY name="COMMAND" purpose="ptype" ref="/COMMAND"/>
  35. <ACTION sym="print">test2</ACTION>
  36. </ENTRY>
  37. </ENTRY>
  38. </KLISH>