ui.json 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. {
  2. "options": {
  3. "local": [
  4. {
  5. "short": "h",
  6. "long": "help"
  7. },
  8. {
  9. "short": "V",
  10. "long": "version"
  11. },
  12. {
  13. "short": "C",
  14. "long": "component",
  15. "arguments": ["str"],
  16. "requires": ["--version"]
  17. },
  18. {
  19. "short": "p",
  20. "long": "proto",
  21. "requires": ["--handle"],
  22. "arguments": ["str"]
  23. }
  24. ],
  25. "global": [
  26. {
  27. "short": "v",
  28. "long": "verbose"
  29. },
  30. {
  31. "short": "d",
  32. "long": "debug"
  33. },
  34. {
  35. "short": "Q",
  36. "long": "quiet"
  37. },
  38. {
  39. "short": "H",
  40. "long": "handle",
  41. "arguments": ["handle:str"],
  42. "conflicts": ["--load-auth"]
  43. },
  44. {
  45. "short": "P",
  46. "long": "password",
  47. "arguments": ["str"],
  48. "conflicts": ["--load-auth"]
  49. },
  50. {
  51. "short": "s",
  52. "long": "save-auth",
  53. "conflicts": ["--load-auth"]
  54. },
  55. {
  56. "short": "L",
  57. "long": "load-auth",
  58. "conflicts": ["--save-auth"]
  59. },
  60. {
  61. "short": "S",
  62. "long": "set-default"
  63. },
  64. {
  65. "short": "D",
  66. "long": "use-default",
  67. "conflicts": ["--handle"]
  68. }
  69. ]
  70. },
  71. "commands": {
  72. "post": {
  73. "options": {
  74. "local": [
  75. {
  76. "short": "m",
  77. "long": "message",
  78. "arguments": ["str"]
  79. },
  80. {
  81. "short": "i",
  82. "long": "image",
  83. "arguments": ["str"]
  84. },
  85. {
  86. "short": "A",
  87. "long": "aspect",
  88. "arguments": ["str"],
  89. "requires": ["--message"]
  90. },
  91. {
  92. "short": "r",
  93. "long": "read",
  94. "wants": ["--id"],
  95. "conflicts": ["--message"]
  96. },
  97. {
  98. "short": "a",
  99. "long": "also-comments",
  100. "requires": ["--read"]
  101. },
  102. {
  103. "short": "c",
  104. "long": "comment",
  105. "arguments": ["str"],
  106. "wants": ["--id"],
  107. "conflicts": ["--message"]
  108. },
  109. {
  110. "short": "R",
  111. "long": "reshare",
  112. "wants": ["--id"],
  113. "conflicts": ["--message"]
  114. },
  115. {
  116. "short": "l",
  117. "long": "like",
  118. "wants": ["--id"],
  119. "conflicts": ["--message"]
  120. },
  121. {
  122. "short": "I",
  123. "long": "id",
  124. "arguments": ["str"],
  125. "conflicts": ["--message"]
  126. },
  127. {
  128. "short": "s",
  129. "long": "stdin",
  130. "wants": ["--message","--comment"]
  131. }
  132. ]
  133. }
  134. },
  135. "notifs": {
  136. "options": {
  137. "local": [
  138. {
  139. "short": "l",
  140. "long": "last",
  141. "conflicts": ["--page"]
  142. },
  143. {
  144. "short": "r",
  145. "long": "read"
  146. },
  147. {
  148. "short": "p",
  149. "long": "page",
  150. "arguments": ["int"],
  151. "conflicts": ["--last"]
  152. },
  153. {
  154. "short": "P",
  155. "long": "per-page",
  156. "arguments": ["int"]
  157. },
  158. {
  159. "short": "U",
  160. "long": "unread-only"
  161. }
  162. ]
  163. }
  164. }
  165. },
  166. "operands": {
  167. "local": [
  168. {
  169. "no": [0,0],
  170. "help": [0,0]
  171. }
  172. ]
  173. }
  174. }