django-handyhelpers 0.3.20__py3-none-any.whl → 0.3.35__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (571) hide show
  1. {django_handyhelpers-0.3.20.dist-info → django_handyhelpers-0.3.35.dist-info}/METADATA +16 -6
  2. {django_handyhelpers-0.3.20.dist-info → django_handyhelpers-0.3.35.dist-info}/RECORD +562 -75
  3. {django_handyhelpers-0.3.20.dist-info → django_handyhelpers-0.3.35.dist-info}/WHEEL +1 -1
  4. handyhelpers/__init__.py +6 -6
  5. handyhelpers/forms.py +9 -1
  6. handyhelpers/mixins/form_mixins.py +61 -0
  7. handyhelpers/mixins/model_mixins.py +21 -0
  8. handyhelpers/mixins/serializer_mixins.py +35 -0
  9. handyhelpers/mixins/view_mixins.py +5 -2
  10. handyhelpers/serializers.py +23 -3
  11. handyhelpers/static/handyhelpers/css/table_sortable.css +17 -0
  12. handyhelpers/static/handyhelpers/js/sidebar.js +8 -4
  13. handyhelpers/static/handyhelpers/js/table_sortable.js +119 -0
  14. handyhelpers/static/node_modules/.bin/acorn +4 -0
  15. handyhelpers/static/node_modules/.bin/css-b64-images +13 -0
  16. handyhelpers/static/node_modules/.bin/esbuild +0 -0
  17. handyhelpers/static/node_modules/.bin/html-minifier-terser +308 -0
  18. handyhelpers/static/node_modules/.bin/minify +98 -0
  19. handyhelpers/static/node_modules/.bin/terser +21 -0
  20. handyhelpers/static/node_modules/.bin/uglifyjs +624 -0
  21. handyhelpers/static/node_modules/.package-lock.json +750 -0
  22. handyhelpers/static/node_modules/@esbuild/linux-x64/README.md +3 -0
  23. handyhelpers/static/node_modules/@esbuild/linux-x64/bin/esbuild +0 -0
  24. handyhelpers/static/node_modules/@esbuild/linux-x64/package.json +20 -0
  25. handyhelpers/static/node_modules/@jridgewell/gen-mapping/LICENSE +19 -0
  26. handyhelpers/static/node_modules/@jridgewell/gen-mapping/README.md +227 -0
  27. handyhelpers/static/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs +230 -0
  28. handyhelpers/static/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs.map +1 -0
  29. handyhelpers/static/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js +246 -0
  30. handyhelpers/static/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js.map +1 -0
  31. handyhelpers/static/node_modules/@jridgewell/gen-mapping/dist/types/gen-mapping.d.ts +88 -0
  32. handyhelpers/static/node_modules/@jridgewell/gen-mapping/dist/types/sourcemap-segment.d.ts +12 -0
  33. handyhelpers/static/node_modules/@jridgewell/gen-mapping/dist/types/types.d.ts +36 -0
  34. handyhelpers/static/node_modules/@jridgewell/gen-mapping/package.json +76 -0
  35. handyhelpers/static/node_modules/@jridgewell/resolve-uri/LICENSE +19 -0
  36. handyhelpers/static/node_modules/@jridgewell/resolve-uri/README.md +40 -0
  37. handyhelpers/static/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs +232 -0
  38. handyhelpers/static/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs.map +1 -0
  39. handyhelpers/static/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js +240 -0
  40. handyhelpers/static/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js.map +1 -0
  41. handyhelpers/static/node_modules/@jridgewell/resolve-uri/dist/types/resolve-uri.d.ts +4 -0
  42. handyhelpers/static/node_modules/@jridgewell/resolve-uri/package.json +69 -0
  43. handyhelpers/static/node_modules/@jridgewell/set-array/LICENSE +19 -0
  44. handyhelpers/static/node_modules/@jridgewell/set-array/README.md +37 -0
  45. handyhelpers/static/node_modules/@jridgewell/set-array/dist/set-array.mjs +69 -0
  46. handyhelpers/static/node_modules/@jridgewell/set-array/dist/set-array.mjs.map +1 -0
  47. handyhelpers/static/node_modules/@jridgewell/set-array/dist/set-array.umd.js +83 -0
  48. handyhelpers/static/node_modules/@jridgewell/set-array/dist/set-array.umd.js.map +1 -0
  49. handyhelpers/static/node_modules/@jridgewell/set-array/dist/types/set-array.d.ts +32 -0
  50. handyhelpers/static/node_modules/@jridgewell/set-array/package.json +65 -0
  51. handyhelpers/static/node_modules/@jridgewell/source-map/LICENSE +19 -0
  52. handyhelpers/static/node_modules/@jridgewell/source-map/README.md +184 -0
  53. handyhelpers/static/node_modules/@jridgewell/source-map/dist/source-map.cjs +95 -0
  54. handyhelpers/static/node_modules/@jridgewell/source-map/dist/source-map.cjs.map +1 -0
  55. handyhelpers/static/node_modules/@jridgewell/source-map/dist/source-map.mjs +90 -0
  56. handyhelpers/static/node_modules/@jridgewell/source-map/dist/source-map.mjs.map +1 -0
  57. handyhelpers/static/node_modules/@jridgewell/source-map/dist/source-map.umd.js +1242 -0
  58. handyhelpers/static/node_modules/@jridgewell/source-map/dist/source-map.umd.js.map +1 -0
  59. handyhelpers/static/node_modules/@jridgewell/source-map/dist/types/source-map.d.ts +35 -0
  60. handyhelpers/static/node_modules/@jridgewell/source-map/package.json +71 -0
  61. handyhelpers/static/node_modules/@jridgewell/sourcemap-codec/LICENSE +21 -0
  62. handyhelpers/static/node_modules/@jridgewell/sourcemap-codec/README.md +264 -0
  63. handyhelpers/static/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs +424 -0
  64. handyhelpers/static/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs.map +1 -0
  65. handyhelpers/static/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js +439 -0
  66. handyhelpers/static/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js.map +1 -0
  67. handyhelpers/static/node_modules/@jridgewell/sourcemap-codec/dist/types/scopes.d.ts +49 -0
  68. handyhelpers/static/node_modules/@jridgewell/sourcemap-codec/dist/types/sourcemap-codec.d.ts +8 -0
  69. handyhelpers/static/node_modules/@jridgewell/sourcemap-codec/dist/types/strings.d.ts +15 -0
  70. handyhelpers/static/node_modules/@jridgewell/sourcemap-codec/dist/types/vlq.d.ts +6 -0
  71. handyhelpers/static/node_modules/@jridgewell/sourcemap-codec/package.json +75 -0
  72. handyhelpers/static/node_modules/@jridgewell/trace-mapping/LICENSE +19 -0
  73. handyhelpers/static/node_modules/@jridgewell/trace-mapping/README.md +257 -0
  74. handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs +580 -0
  75. handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs.map +1 -0
  76. handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js +600 -0
  77. handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js.map +1 -0
  78. handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/types/any-map.d.ts +8 -0
  79. handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/types/binary-search.d.ts +32 -0
  80. handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/types/by-source.d.ts +7 -0
  81. handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/types/resolve.d.ts +1 -0
  82. handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/types/sort.d.ts +2 -0
  83. handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/types/sourcemap-segment.d.ts +16 -0
  84. handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/types/strip-filename.d.ts +4 -0
  85. handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/types/trace-mapping.d.ts +79 -0
  86. handyhelpers/static/node_modules/@jridgewell/trace-mapping/dist/types/types.d.ts +99 -0
  87. handyhelpers/static/node_modules/@jridgewell/trace-mapping/package.json +77 -0
  88. handyhelpers/static/node_modules/@popperjs/core/dist/cjs/enums.js +1 -1
  89. handyhelpers/static/node_modules/@popperjs/core/dist/cjs/popper-base.js +12 -170
  90. handyhelpers/static/node_modules/@popperjs/core/dist/cjs/popper-base.js.map +1 -1
  91. handyhelpers/static/node_modules/@popperjs/core/dist/cjs/popper-lite.js +14 -184
  92. handyhelpers/static/node_modules/@popperjs/core/dist/cjs/popper-lite.js.map +1 -1
  93. handyhelpers/static/node_modules/@popperjs/core/dist/cjs/popper.js +14 -197
  94. handyhelpers/static/node_modules/@popperjs/core/dist/cjs/popper.js.map +1 -1
  95. handyhelpers/static/node_modules/@popperjs/core/dist/esm/createPopper.js +6 -66
  96. handyhelpers/static/node_modules/@popperjs/core/dist/esm/modifiers/arrow.js +1 -12
  97. handyhelpers/static/node_modules/@popperjs/core/dist/esm/modifiers/computeStyles.js +2 -14
  98. handyhelpers/static/node_modules/@popperjs/core/dist/esm/utils/computeAutoPlacement.js +0 -4
  99. handyhelpers/static/node_modules/@popperjs/core/dist/esm/utils/userAgent.js +1 -1
  100. handyhelpers/static/node_modules/@popperjs/core/dist/umd/enums.js +1 -1
  101. handyhelpers/static/node_modules/@popperjs/core/dist/umd/enums.min.js +1 -1
  102. handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper-base.js +12 -170
  103. handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper-base.js.map +1 -1
  104. handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper-base.min.js +2 -2
  105. handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper-base.min.js.map +1 -1
  106. handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper-lite.js +14 -184
  107. handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper-lite.js.map +1 -1
  108. handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper-lite.min.js +2 -2
  109. handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper-lite.min.js.map +1 -1
  110. handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper.js +14 -197
  111. handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper.js.map +1 -1
  112. handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper.min.js +2 -2
  113. handyhelpers/static/node_modules/@popperjs/core/dist/umd/popper.min.js.map +1 -1
  114. handyhelpers/static/node_modules/@popperjs/core/lib/createPopper.js +6 -66
  115. handyhelpers/static/node_modules/@popperjs/core/lib/createPopper.js.flow +2 -80
  116. handyhelpers/static/node_modules/@popperjs/core/lib/modifiers/arrow.js +1 -12
  117. handyhelpers/static/node_modules/@popperjs/core/lib/modifiers/arrow.js.flow +0 -22
  118. handyhelpers/static/node_modules/@popperjs/core/lib/modifiers/computeStyles.js +2 -14
  119. handyhelpers/static/node_modules/@popperjs/core/lib/modifiers/computeStyles.js.flow +3 -33
  120. handyhelpers/static/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js +0 -4
  121. handyhelpers/static/node_modules/@popperjs/core/lib/utils/computeAutoPlacement.js.flow +0 -12
  122. handyhelpers/static/node_modules/@popperjs/core/lib/utils/userAgent.js +1 -1
  123. handyhelpers/static/node_modules/@popperjs/core/lib/utils/userAgent.js.flow +1 -1
  124. handyhelpers/static/node_modules/@popperjs/core/package.json +1 -1
  125. handyhelpers/static/node_modules/@putout/minify/LICENSE +21 -0
  126. handyhelpers/static/node_modules/@putout/minify/README.md +110 -0
  127. handyhelpers/static/node_modules/@putout/minify/bundle/minify.min.js +52 -0
  128. handyhelpers/static/node_modules/@putout/minify/package.json +112 -0
  129. handyhelpers/static/node_modules/@swc/core/Visitor.d.ts +218 -0
  130. handyhelpers/static/node_modules/@swc/core/Visitor.js +1407 -0
  131. handyhelpers/static/node_modules/@swc/core/binding.d.ts +56 -0
  132. handyhelpers/static/node_modules/@swc/core/binding.js +351 -0
  133. handyhelpers/static/node_modules/@swc/core/index.d.ts +118 -0
  134. handyhelpers/static/node_modules/@swc/core/index.js +439 -0
  135. handyhelpers/static/node_modules/@swc/core/package.json +114 -0
  136. handyhelpers/static/node_modules/@swc/core/postinstall.js +148 -0
  137. handyhelpers/static/node_modules/@swc/core/spack.d.ts +51 -0
  138. handyhelpers/static/node_modules/@swc/core/spack.js +87 -0
  139. handyhelpers/static/node_modules/@swc/core/util.d.ts +1 -0
  140. handyhelpers/static/node_modules/@swc/core/util.js +104 -0
  141. handyhelpers/static/node_modules/@swc/core-linux-x64-gnu/README.md +3 -0
  142. handyhelpers/static/node_modules/@swc/core-linux-x64-gnu/package.json +45 -0
  143. handyhelpers/static/node_modules/@swc/core-linux-x64-gnu/swc.linux-x64-gnu.node +0 -0
  144. handyhelpers/static/node_modules/@swc/counter/CHANGELOG.md +7 -0
  145. handyhelpers/static/node_modules/@swc/counter/README.md +7 -0
  146. handyhelpers/static/node_modules/@swc/counter/index.js +1 -0
  147. handyhelpers/static/node_modules/@swc/counter/package.json +27 -0
  148. handyhelpers/static/node_modules/@swc/types/LICENSE +201 -0
  149. handyhelpers/static/node_modules/@swc/types/README.md +4 -0
  150. handyhelpers/static/node_modules/@swc/types/assumptions.d.ts +92 -0
  151. handyhelpers/static/node_modules/@swc/types/assumptions.js +2 -0
  152. handyhelpers/static/node_modules/@swc/types/index.d.ts +1977 -0
  153. handyhelpers/static/node_modules/@swc/types/index.js +2 -0
  154. handyhelpers/static/node_modules/@swc/types/package.json +39 -0
  155. handyhelpers/static/node_modules/acorn/CHANGELOG.md +928 -0
  156. handyhelpers/static/node_modules/acorn/LICENSE +21 -0
  157. handyhelpers/static/node_modules/acorn/README.md +282 -0
  158. handyhelpers/static/node_modules/acorn/bin/acorn +4 -0
  159. handyhelpers/static/node_modules/acorn/dist/acorn.d.mts +866 -0
  160. handyhelpers/static/node_modules/acorn/dist/acorn.d.ts +866 -0
  161. handyhelpers/static/node_modules/acorn/dist/acorn.js +6174 -0
  162. handyhelpers/static/node_modules/acorn/dist/acorn.mjs +6145 -0
  163. handyhelpers/static/node_modules/acorn/dist/bin.js +90 -0
  164. handyhelpers/static/node_modules/acorn/package.json +50 -0
  165. handyhelpers/static/node_modules/buffer-from/LICENSE +21 -0
  166. handyhelpers/static/node_modules/buffer-from/index.js +72 -0
  167. handyhelpers/static/node_modules/buffer-from/package.json +19 -0
  168. handyhelpers/static/node_modules/buffer-from/readme.md +69 -0
  169. handyhelpers/static/node_modules/camel-case/LICENSE +21 -0
  170. handyhelpers/static/node_modules/camel-case/README.md +47 -0
  171. handyhelpers/static/node_modules/camel-case/dist/index.d.ts +5 -0
  172. handyhelpers/static/node_modules/camel-case/dist/index.js +23 -0
  173. handyhelpers/static/node_modules/camel-case/dist/index.js.map +1 -0
  174. handyhelpers/static/node_modules/camel-case/dist/index.spec.d.ts +1 -0
  175. handyhelpers/static/node_modules/camel-case/dist/index.spec.js +26 -0
  176. handyhelpers/static/node_modules/camel-case/dist/index.spec.js.map +1 -0
  177. handyhelpers/static/node_modules/camel-case/dist.es2015/index.d.ts +5 -0
  178. handyhelpers/static/node_modules/camel-case/dist.es2015/index.js +17 -0
  179. handyhelpers/static/node_modules/camel-case/dist.es2015/index.js.map +1 -0
  180. handyhelpers/static/node_modules/camel-case/dist.es2015/index.spec.d.ts +1 -0
  181. handyhelpers/static/node_modules/camel-case/dist.es2015/index.spec.js +24 -0
  182. handyhelpers/static/node_modules/camel-case/dist.es2015/index.spec.js.map +1 -0
  183. handyhelpers/static/node_modules/camel-case/package.json +89 -0
  184. handyhelpers/static/node_modules/clean-css/History.md +1504 -0
  185. handyhelpers/static/node_modules/clean-css/LICENSE +19 -0
  186. handyhelpers/static/node_modules/clean-css/README.md +987 -0
  187. handyhelpers/static/node_modules/clean-css/index.js +1 -0
  188. handyhelpers/static/node_modules/clean-css/package.json +48 -0
  189. handyhelpers/static/node_modules/commander/LICENSE +22 -0
  190. handyhelpers/static/node_modules/commander/Readme.md +1134 -0
  191. handyhelpers/static/node_modules/commander/esm.mjs +16 -0
  192. handyhelpers/static/node_modules/commander/index.js +27 -0
  193. handyhelpers/static/node_modules/commander/package-support.json +16 -0
  194. handyhelpers/static/node_modules/commander/package.json +80 -0
  195. handyhelpers/static/node_modules/commander/typings/index.d.ts +889 -0
  196. handyhelpers/static/node_modules/css-b64-images/.npmignore +15 -0
  197. handyhelpers/static/node_modules/css-b64-images/.travis.yml +5 -0
  198. handyhelpers/static/node_modules/css-b64-images/README.md +78 -0
  199. handyhelpers/static/node_modules/css-b64-images/bin/css-b64-images +13 -0
  200. handyhelpers/static/node_modules/css-b64-images/draft.png +0 -0
  201. handyhelpers/static/node_modules/css-b64-images/draft.xcf +0 -0
  202. handyhelpers/static/node_modules/css-b64-images/package.json +30 -0
  203. handyhelpers/static/node_modules/css-b64-images/test/css-b64-images-test.js +38 -0
  204. handyhelpers/static/node_modules/css-b64-images/test/fixture/css/style.css +52 -0
  205. handyhelpers/static/node_modules/css-b64-images/test/fixture/fonts/callunasansregular-webfont.eot +0 -0
  206. handyhelpers/static/node_modules/css-b64-images/test/fixture/fonts/callunasansregular-webfont.svg +248 -0
  207. handyhelpers/static/node_modules/css-b64-images/test/fixture/fonts/callunasansregular-webfont.ttf +0 -0
  208. handyhelpers/static/node_modules/css-b64-images/test/fixture/fonts/callunasansregular-webfont.woff +0 -0
  209. handyhelpers/static/node_modules/css-b64-images/test/fixture/fonts/maven_pro_medium-webfont.eot +0 -0
  210. handyhelpers/static/node_modules/css-b64-images/test/fixture/fonts/maven_pro_medium-webfont.svg +245 -0
  211. handyhelpers/static/node_modules/css-b64-images/test/fixture/fonts/maven_pro_medium-webfont.ttf +0 -0
  212. handyhelpers/static/node_modules/css-b64-images/test/fixture/fonts/maven_pro_medium-webfont.woff +0 -0
  213. handyhelpers/static/node_modules/css-b64-images/test/fixture/img/background-pattern.gif +0 -0
  214. handyhelpers/static/node_modules/css-b64-images/test/fixture/img/dots.svg +6 -0
  215. handyhelpers/static/node_modules/css-b64-images/test/fixture/img/mixit-banner.png +0 -0
  216. handyhelpers/static/node_modules/debug/LICENSE +20 -0
  217. handyhelpers/static/node_modules/debug/README.md +481 -0
  218. handyhelpers/static/node_modules/debug/package.json +65 -0
  219. handyhelpers/static/node_modules/debug/src/browser.js +272 -0
  220. handyhelpers/static/node_modules/debug/src/common.js +292 -0
  221. handyhelpers/static/node_modules/debug/src/index.js +10 -0
  222. handyhelpers/static/node_modules/debug/src/node.js +263 -0
  223. handyhelpers/static/node_modules/dot-case/LICENSE +21 -0
  224. handyhelpers/static/node_modules/dot-case/README.md +37 -0
  225. handyhelpers/static/node_modules/dot-case/dist/index.d.ts +3 -0
  226. handyhelpers/static/node_modules/dot-case/dist/index.js +11 -0
  227. handyhelpers/static/node_modules/dot-case/dist/index.js.map +1 -0
  228. handyhelpers/static/node_modules/dot-case/dist/index.spec.d.ts +1 -0
  229. handyhelpers/static/node_modules/dot-case/dist/index.spec.js +26 -0
  230. handyhelpers/static/node_modules/dot-case/dist/index.spec.js.map +1 -0
  231. handyhelpers/static/node_modules/dot-case/dist.es2015/index.d.ts +3 -0
  232. handyhelpers/static/node_modules/dot-case/dist.es2015/index.js +7 -0
  233. handyhelpers/static/node_modules/dot-case/dist.es2015/index.js.map +1 -0
  234. handyhelpers/static/node_modules/dot-case/dist.es2015/index.spec.d.ts +1 -0
  235. handyhelpers/static/node_modules/dot-case/dist.es2015/index.spec.js +24 -0
  236. handyhelpers/static/node_modules/dot-case/dist.es2015/index.spec.js.map +1 -0
  237. handyhelpers/static/node_modules/dot-case/package.json +89 -0
  238. handyhelpers/static/node_modules/entities/LICENSE +11 -0
  239. handyhelpers/static/node_modules/entities/package.json +90 -0
  240. handyhelpers/static/node_modules/entities/readme.md +122 -0
  241. handyhelpers/static/node_modules/esbuild/LICENSE.md +21 -0
  242. handyhelpers/static/node_modules/esbuild/README.md +3 -0
  243. handyhelpers/static/node_modules/esbuild/bin/esbuild +0 -0
  244. handyhelpers/static/node_modules/esbuild/install.js +286 -0
  245. handyhelpers/static/node_modules/esbuild/package.json +47 -0
  246. handyhelpers/static/node_modules/find-up/index.d.ts +247 -0
  247. handyhelpers/static/node_modules/find-up/index.js +107 -0
  248. handyhelpers/static/node_modules/find-up/license +9 -0
  249. handyhelpers/static/node_modules/find-up/package.json +61 -0
  250. handyhelpers/static/node_modules/find-up/readme.md +160 -0
  251. handyhelpers/static/node_modules/fun-effects/LICENSE +674 -0
  252. handyhelpers/static/node_modules/fun-effects/README.md +10 -0
  253. handyhelpers/static/node_modules/fun-effects/dist/css/background_icons.min.css +1 -0
  254. handyhelpers/static/node_modules/fun-effects/dist/css/blur_group.min.css +1 -0
  255. handyhelpers/static/node_modules/fun-effects/dist/css/fades.min.css +1 -0
  256. handyhelpers/static/node_modules/fun-effects/dist/css/marquee.min.css +1 -0
  257. handyhelpers/static/node_modules/fun-effects/dist/css/scroller.min.css +1 -0
  258. handyhelpers/static/node_modules/fun-effects/dist/index.js +15 -0
  259. handyhelpers/static/node_modules/fun-effects/dist/js/background_icons.min.js +1 -0
  260. handyhelpers/static/node_modules/fun-effects/dist/js/marquee.min.js +1 -0
  261. handyhelpers/static/node_modules/fun-effects/dist/js/scroller.min.js +1 -0
  262. handyhelpers/static/node_modules/fun-effects/package.json +39 -0
  263. handyhelpers/static/node_modules/fun-effects/src/css/background_icons.css +39 -0
  264. handyhelpers/static/node_modules/fun-effects/src/css/blur_group.css +22 -0
  265. handyhelpers/static/node_modules/fun-effects/src/css/fades.css +94 -0
  266. handyhelpers/static/node_modules/fun-effects/src/css/marquee.css +45 -0
  267. handyhelpers/static/node_modules/fun-effects/src/css/scroller.css +144 -0
  268. handyhelpers/static/node_modules/fun-effects/src/index.js +15 -0
  269. handyhelpers/static/node_modules/fun-effects/src/js/background_icons.js +101 -0
  270. handyhelpers/static/node_modules/fun-effects/src/js/marquee.js +81 -0
  271. handyhelpers/static/node_modules/fun-effects/src/js/scroller.js +37 -0
  272. handyhelpers/static/node_modules/html-minifier-terser/LICENSE +22 -0
  273. handyhelpers/static/node_modules/html-minifier-terser/README.md +168 -0
  274. handyhelpers/static/node_modules/html-minifier-terser/cli.js +308 -0
  275. handyhelpers/static/node_modules/html-minifier-terser/dist/htmlminifier.cjs +1857 -0
  276. handyhelpers/static/node_modules/html-minifier-terser/dist/htmlminifier.esm.bundle.js +57509 -0
  277. handyhelpers/static/node_modules/html-minifier-terser/dist/htmlminifier.umd.bundle.js +57520 -0
  278. handyhelpers/static/node_modules/html-minifier-terser/dist/htmlminifier.umd.bundle.min.js +9 -0
  279. handyhelpers/static/node_modules/html-minifier-terser/package.json +105 -0
  280. handyhelpers/static/node_modules/html-minifier-terser/src/htmlminifier.js +1366 -0
  281. handyhelpers/static/node_modules/html-minifier-terser/src/htmlparser.js +565 -0
  282. handyhelpers/static/node_modules/html-minifier-terser/src/tokenchain.js +68 -0
  283. handyhelpers/static/node_modules/html-minifier-terser/src/utils.js +11 -0
  284. handyhelpers/static/node_modules/jju/LICENSE +21 -0
  285. handyhelpers/static/node_modules/jju/Makefile +20 -0
  286. handyhelpers/static/node_modules/jju/README.md +249 -0
  287. handyhelpers/static/node_modules/jju/index.js +32 -0
  288. handyhelpers/static/node_modules/jju/package.json +34 -0
  289. handyhelpers/static/node_modules/jju/package.yaml +36 -0
  290. handyhelpers/static/node_modules/locate-path/index.d.ts +92 -0
  291. handyhelpers/static/node_modules/locate-path/index.js +77 -0
  292. handyhelpers/static/node_modules/locate-path/license +9 -0
  293. handyhelpers/static/node_modules/locate-path/package.json +48 -0
  294. handyhelpers/static/node_modules/locate-path/readme.md +123 -0
  295. handyhelpers/static/node_modules/lower-case/LICENSE +21 -0
  296. handyhelpers/static/node_modules/lower-case/README.md +35 -0
  297. handyhelpers/static/node_modules/lower-case/dist/index.d.ts +8 -0
  298. handyhelpers/static/node_modules/lower-case/dist/index.js +53 -0
  299. handyhelpers/static/node_modules/lower-case/dist/index.js.map +1 -0
  300. handyhelpers/static/node_modules/lower-case/dist/index.spec.d.ts +1 -0
  301. handyhelpers/static/node_modules/lower-case/dist/index.spec.js +36 -0
  302. handyhelpers/static/node_modules/lower-case/dist/index.spec.js.map +1 -0
  303. handyhelpers/static/node_modules/lower-case/dist.es2015/index.d.ts +8 -0
  304. handyhelpers/static/node_modules/lower-case/dist.es2015/index.js +48 -0
  305. handyhelpers/static/node_modules/lower-case/dist.es2015/index.js.map +1 -0
  306. handyhelpers/static/node_modules/lower-case/dist.es2015/index.spec.d.ts +1 -0
  307. handyhelpers/static/node_modules/lower-case/dist.es2015/index.spec.js +34 -0
  308. handyhelpers/static/node_modules/lower-case/dist.es2015/index.spec.js.map +1 -0
  309. handyhelpers/static/node_modules/lower-case/package.json +87 -0
  310. handyhelpers/static/node_modules/minify/ChangeLog +1307 -0
  311. handyhelpers/static/node_modules/minify/LICENSE +22 -0
  312. handyhelpers/static/node_modules/minify/README.md +177 -0
  313. handyhelpers/static/node_modules/minify/bin/minify.js +98 -0
  314. handyhelpers/static/node_modules/minify/deno.json +5 -0
  315. handyhelpers/static/node_modules/minify/help.json +8 -0
  316. handyhelpers/static/node_modules/minify/package.json +65 -0
  317. handyhelpers/static/node_modules/ms/index.js +162 -0
  318. handyhelpers/static/node_modules/ms/license.md +21 -0
  319. handyhelpers/static/node_modules/ms/package.json +38 -0
  320. handyhelpers/static/node_modules/ms/readme.md +59 -0
  321. handyhelpers/static/node_modules/no-case/LICENSE +21 -0
  322. handyhelpers/static/node_modules/no-case/README.md +37 -0
  323. handyhelpers/static/node_modules/no-case/dist/index.d.ts +10 -0
  324. handyhelpers/static/node_modules/no-case/dist/index.js +35 -0
  325. handyhelpers/static/node_modules/no-case/dist/index.js.map +1 -0
  326. handyhelpers/static/node_modules/no-case/dist/index.spec.d.ts +1 -0
  327. handyhelpers/static/node_modules/no-case/dist/index.spec.js +59 -0
  328. handyhelpers/static/node_modules/no-case/dist/index.spec.js.map +1 -0
  329. handyhelpers/static/node_modules/no-case/dist.es2015/index.d.ts +10 -0
  330. handyhelpers/static/node_modules/no-case/dist.es2015/index.js +31 -0
  331. handyhelpers/static/node_modules/no-case/dist.es2015/index.js.map +1 -0
  332. handyhelpers/static/node_modules/no-case/dist.es2015/index.spec.d.ts +1 -0
  333. handyhelpers/static/node_modules/no-case/dist.es2015/index.spec.js +57 -0
  334. handyhelpers/static/node_modules/no-case/dist.es2015/index.spec.js.map +1 -0
  335. handyhelpers/static/node_modules/no-case/package.json +85 -0
  336. handyhelpers/static/node_modules/p-limit/index.d.ts +40 -0
  337. handyhelpers/static/node_modules/p-limit/index.js +68 -0
  338. handyhelpers/static/node_modules/p-limit/license +9 -0
  339. handyhelpers/static/node_modules/p-limit/package.json +54 -0
  340. handyhelpers/static/node_modules/p-limit/readme.md +99 -0
  341. handyhelpers/static/node_modules/p-locate/index.d.ts +49 -0
  342. handyhelpers/static/node_modules/p-locate/index.js +48 -0
  343. handyhelpers/static/node_modules/p-locate/license +9 -0
  344. handyhelpers/static/node_modules/p-locate/package.json +56 -0
  345. handyhelpers/static/node_modules/p-locate/readme.md +91 -0
  346. handyhelpers/static/node_modules/param-case/LICENSE +21 -0
  347. handyhelpers/static/node_modules/param-case/README.md +37 -0
  348. handyhelpers/static/node_modules/param-case/dist/index.d.ts +3 -0
  349. handyhelpers/static/node_modules/param-case/dist/index.js +11 -0
  350. handyhelpers/static/node_modules/param-case/dist/index.js.map +1 -0
  351. handyhelpers/static/node_modules/param-case/dist/index.spec.d.ts +1 -0
  352. handyhelpers/static/node_modules/param-case/dist/index.spec.js +24 -0
  353. handyhelpers/static/node_modules/param-case/dist/index.spec.js.map +1 -0
  354. handyhelpers/static/node_modules/param-case/dist.es2015/index.d.ts +3 -0
  355. handyhelpers/static/node_modules/param-case/dist.es2015/index.js +7 -0
  356. handyhelpers/static/node_modules/param-case/dist.es2015/index.js.map +1 -0
  357. handyhelpers/static/node_modules/param-case/dist.es2015/index.spec.d.ts +1 -0
  358. handyhelpers/static/node_modules/param-case/dist.es2015/index.spec.js +22 -0
  359. handyhelpers/static/node_modules/param-case/dist.es2015/index.spec.js.map +1 -0
  360. handyhelpers/static/node_modules/param-case/package.json +91 -0
  361. handyhelpers/static/node_modules/pascal-case/LICENSE +21 -0
  362. handyhelpers/static/node_modules/pascal-case/README.md +47 -0
  363. handyhelpers/static/node_modules/pascal-case/dist/index.d.ts +5 -0
  364. handyhelpers/static/node_modules/pascal-case/dist/index.js +24 -0
  365. handyhelpers/static/node_modules/pascal-case/dist/index.js.map +1 -0
  366. handyhelpers/static/node_modules/pascal-case/dist/index.spec.d.ts +1 -0
  367. handyhelpers/static/node_modules/pascal-case/dist/index.spec.js +25 -0
  368. handyhelpers/static/node_modules/pascal-case/dist/index.spec.js.map +1 -0
  369. handyhelpers/static/node_modules/pascal-case/dist.es2015/index.d.ts +5 -0
  370. handyhelpers/static/node_modules/pascal-case/dist.es2015/index.js +18 -0
  371. handyhelpers/static/node_modules/pascal-case/dist.es2015/index.js.map +1 -0
  372. handyhelpers/static/node_modules/pascal-case/dist.es2015/index.spec.d.ts +1 -0
  373. handyhelpers/static/node_modules/pascal-case/dist.es2015/index.spec.js +23 -0
  374. handyhelpers/static/node_modules/pascal-case/dist.es2015/index.spec.js.map +1 -0
  375. handyhelpers/static/node_modules/pascal-case/package.json +90 -0
  376. handyhelpers/static/node_modules/path-exists/index.d.ts +31 -0
  377. handyhelpers/static/node_modules/path-exists/index.js +19 -0
  378. handyhelpers/static/node_modules/path-exists/license +9 -0
  379. handyhelpers/static/node_modules/path-exists/package.json +41 -0
  380. handyhelpers/static/node_modules/path-exists/readme.md +52 -0
  381. handyhelpers/static/node_modules/readjson/ChangeLog +110 -0
  382. handyhelpers/static/node_modules/readjson/LICENSE +21 -0
  383. handyhelpers/static/node_modules/readjson/README.md +36 -0
  384. handyhelpers/static/node_modules/readjson/package.json +46 -0
  385. handyhelpers/static/node_modules/relateurl/README.md +159 -0
  386. handyhelpers/static/node_modules/relateurl/license +21 -0
  387. handyhelpers/static/node_modules/relateurl/package.json +46 -0
  388. handyhelpers/static/node_modules/simport/ChangeLog +77 -0
  389. handyhelpers/static/node_modules/simport/LICENSE +21 -0
  390. handyhelpers/static/node_modules/simport/README.md +81 -0
  391. handyhelpers/static/node_modules/simport/fixture/context.js +3 -0
  392. handyhelpers/static/node_modules/simport/fixture/default-frozen-function.mjs +2 -0
  393. handyhelpers/static/node_modules/simport/fixture/default-frozen-object.mjs +2 -0
  394. handyhelpers/static/node_modules/simport/package.json +65 -0
  395. handyhelpers/static/node_modules/simport/simport.js +84 -0
  396. handyhelpers/static/node_modules/simport/simport.mjs +22 -0
  397. handyhelpers/static/node_modules/source-map/CHANGELOG.md +301 -0
  398. handyhelpers/static/node_modules/source-map/LICENSE +28 -0
  399. handyhelpers/static/node_modules/source-map/README.md +742 -0
  400. handyhelpers/static/node_modules/source-map/dist/source-map.debug.js +3234 -0
  401. handyhelpers/static/node_modules/source-map/dist/source-map.js +3233 -0
  402. handyhelpers/static/node_modules/source-map/dist/source-map.min.js +2 -0
  403. handyhelpers/static/node_modules/source-map/dist/source-map.min.js.map +1 -0
  404. handyhelpers/static/node_modules/source-map/package.json +73 -0
  405. handyhelpers/static/node_modules/source-map/source-map.d.ts +98 -0
  406. handyhelpers/static/node_modules/source-map/source-map.js +8 -0
  407. handyhelpers/static/node_modules/source-map-support/LICENSE.md +21 -0
  408. handyhelpers/static/node_modules/source-map-support/README.md +284 -0
  409. handyhelpers/static/node_modules/source-map-support/browser-source-map-support.js +114 -0
  410. handyhelpers/static/node_modules/source-map-support/package.json +31 -0
  411. handyhelpers/static/node_modules/source-map-support/register-hook-require.js +1 -0
  412. handyhelpers/static/node_modules/source-map-support/register.js +1 -0
  413. handyhelpers/static/node_modules/source-map-support/source-map-support.js +625 -0
  414. handyhelpers/static/node_modules/terser/CHANGELOG.md +783 -0
  415. handyhelpers/static/node_modules/terser/LICENSE +27 -0
  416. handyhelpers/static/node_modules/terser/PATRONS.md +15 -0
  417. handyhelpers/static/node_modules/terser/README.md +1421 -0
  418. handyhelpers/static/node_modules/terser/bin/package.json +10 -0
  419. handyhelpers/static/node_modules/terser/bin/terser +21 -0
  420. handyhelpers/static/node_modules/terser/bin/uglifyjs +10 -0
  421. handyhelpers/static/node_modules/terser/dist/.gitkeep +0 -0
  422. handyhelpers/static/node_modules/terser/dist/bundle.min.js +32962 -0
  423. handyhelpers/static/node_modules/terser/dist/package.json +10 -0
  424. handyhelpers/static/node_modules/terser/main.js +27 -0
  425. handyhelpers/static/node_modules/terser/node_modules/commander/CHANGELOG.md +419 -0
  426. handyhelpers/static/node_modules/terser/node_modules/commander/LICENSE +22 -0
  427. handyhelpers/static/node_modules/terser/node_modules/commander/Readme.md +428 -0
  428. handyhelpers/static/node_modules/terser/node_modules/commander/index.js +1224 -0
  429. handyhelpers/static/node_modules/terser/node_modules/commander/package.json +38 -0
  430. handyhelpers/static/node_modules/terser/node_modules/commander/typings/index.d.ts +310 -0
  431. handyhelpers/static/node_modules/terser/package.json +153 -0
  432. handyhelpers/static/node_modules/terser/tools/domprops.js +9026 -0
  433. handyhelpers/static/node_modules/terser/tools/exit.cjs +7 -0
  434. handyhelpers/static/node_modules/terser/tools/props.html +68 -0
  435. handyhelpers/static/node_modules/terser/tools/terser.d.ts +216 -0
  436. handyhelpers/static/node_modules/tippy.js/LICENSE +21 -0
  437. handyhelpers/static/node_modules/tippy.js/README.md +63 -0
  438. handyhelpers/static/node_modules/tippy.js/animations/perspective-extreme.css +1 -0
  439. handyhelpers/static/node_modules/tippy.js/animations/perspective-subtle.css +1 -0
  440. handyhelpers/static/node_modules/tippy.js/animations/perspective.css +1 -0
  441. handyhelpers/static/node_modules/tippy.js/animations/scale-extreme.css +1 -0
  442. handyhelpers/static/node_modules/tippy.js/animations/scale-subtle.css +1 -0
  443. handyhelpers/static/node_modules/tippy.js/animations/scale.css +1 -0
  444. handyhelpers/static/node_modules/tippy.js/animations/shift-away-extreme.css +1 -0
  445. handyhelpers/static/node_modules/tippy.js/animations/shift-away-subtle.css +1 -0
  446. handyhelpers/static/node_modules/tippy.js/animations/shift-away.css +1 -0
  447. handyhelpers/static/node_modules/tippy.js/animations/shift-toward-extreme.css +1 -0
  448. handyhelpers/static/node_modules/tippy.js/animations/shift-toward-subtle.css +1 -0
  449. handyhelpers/static/node_modules/tippy.js/animations/shift-toward.css +1 -0
  450. handyhelpers/static/node_modules/tippy.js/dist/backdrop.css +1 -0
  451. handyhelpers/static/node_modules/tippy.js/dist/border.css +1 -0
  452. handyhelpers/static/node_modules/tippy.js/dist/svg-arrow.css +1 -0
  453. handyhelpers/static/node_modules/tippy.js/dist/tippy-bundle.umd.js +2516 -0
  454. handyhelpers/static/node_modules/tippy.js/dist/tippy-bundle.umd.js.map +1 -0
  455. handyhelpers/static/node_modules/tippy.js/dist/tippy-bundle.umd.min.js +2 -0
  456. handyhelpers/static/node_modules/tippy.js/dist/tippy-bundle.umd.min.js.map +1 -0
  457. handyhelpers/static/node_modules/tippy.js/dist/tippy.cjs.js +2497 -0
  458. handyhelpers/static/node_modules/tippy.js/dist/tippy.cjs.js.map +1 -0
  459. handyhelpers/static/node_modules/tippy.js/dist/tippy.css +1 -0
  460. handyhelpers/static/node_modules/tippy.js/dist/tippy.esm.js +2486 -0
  461. handyhelpers/static/node_modules/tippy.js/dist/tippy.esm.js.map +1 -0
  462. handyhelpers/static/node_modules/tippy.js/dist/tippy.umd.js +2496 -0
  463. handyhelpers/static/node_modules/tippy.js/dist/tippy.umd.js.map +1 -0
  464. handyhelpers/static/node_modules/tippy.js/dist/tippy.umd.min.js +2 -0
  465. handyhelpers/static/node_modules/tippy.js/dist/tippy.umd.min.js.map +1 -0
  466. handyhelpers/static/node_modules/tippy.js/headless/dist/tippy-headless.cjs.js +2388 -0
  467. handyhelpers/static/node_modules/tippy.js/headless/dist/tippy-headless.cjs.js.map +1 -0
  468. handyhelpers/static/node_modules/tippy.js/headless/dist/tippy-headless.esm.js +2377 -0
  469. handyhelpers/static/node_modules/tippy.js/headless/dist/tippy-headless.esm.js.map +1 -0
  470. handyhelpers/static/node_modules/tippy.js/headless/dist/tippy-headless.umd.js +2382 -0
  471. handyhelpers/static/node_modules/tippy.js/headless/dist/tippy-headless.umd.js.map +1 -0
  472. handyhelpers/static/node_modules/tippy.js/headless/dist/tippy-headless.umd.min.js +2 -0
  473. handyhelpers/static/node_modules/tippy.js/headless/dist/tippy-headless.umd.min.js.map +1 -0
  474. handyhelpers/static/node_modules/tippy.js/headless/package.json +16 -0
  475. handyhelpers/static/node_modules/tippy.js/index.d.ts +260 -0
  476. handyhelpers/static/node_modules/tippy.js/package.json +157 -0
  477. handyhelpers/static/node_modules/tippy.js/themes/light-border.css +1 -0
  478. handyhelpers/static/node_modules/tippy.js/themes/light.css +1 -0
  479. handyhelpers/static/node_modules/tippy.js/themes/material.css +1 -0
  480. handyhelpers/static/node_modules/tippy.js/themes/translucent.css +1 -0
  481. handyhelpers/static/node_modules/try-catch/ChangeLog +55 -0
  482. handyhelpers/static/node_modules/try-catch/LICENSE +21 -0
  483. handyhelpers/static/node_modules/try-catch/README.md +38 -0
  484. handyhelpers/static/node_modules/try-catch/package.json +34 -0
  485. handyhelpers/static/node_modules/try-to-catch/ChangeLog +64 -0
  486. handyhelpers/static/node_modules/try-to-catch/LICENSE +21 -0
  487. handyhelpers/static/node_modules/try-to-catch/README.md +74 -0
  488. handyhelpers/static/node_modules/try-to-catch/package.json +47 -0
  489. handyhelpers/static/node_modules/tslib/CopyrightNotice.txt +15 -0
  490. handyhelpers/static/node_modules/tslib/LICENSE.txt +12 -0
  491. handyhelpers/static/node_modules/tslib/README.md +164 -0
  492. handyhelpers/static/node_modules/tslib/SECURITY.md +41 -0
  493. handyhelpers/static/node_modules/tslib/modules/index.d.ts +38 -0
  494. handyhelpers/static/node_modules/tslib/modules/index.js +70 -0
  495. handyhelpers/static/node_modules/tslib/modules/package.json +3 -0
  496. handyhelpers/static/node_modules/tslib/package.json +47 -0
  497. handyhelpers/static/node_modules/tslib/tslib.d.ts +460 -0
  498. handyhelpers/static/node_modules/tslib/tslib.es6.html +1 -0
  499. handyhelpers/static/node_modules/tslib/tslib.es6.js +402 -0
  500. handyhelpers/static/node_modules/tslib/tslib.es6.mjs +401 -0
  501. handyhelpers/static/node_modules/tslib/tslib.html +1 -0
  502. handyhelpers/static/node_modules/tslib/tslib.js +484 -0
  503. handyhelpers/static/node_modules/uglify-js/LICENSE +29 -0
  504. handyhelpers/static/node_modules/uglify-js/README.md +1479 -0
  505. handyhelpers/static/node_modules/uglify-js/bin/uglifyjs +624 -0
  506. handyhelpers/static/node_modules/uglify-js/package.json +56 -0
  507. handyhelpers/static/node_modules/uglify-js/tools/domprops.html +456 -0
  508. handyhelpers/static/node_modules/uglify-js/tools/domprops.json +8327 -0
  509. handyhelpers/static/node_modules/uglify-js/tools/exports.js +8 -0
  510. handyhelpers/static/node_modules/uglify-js/tools/node.js +115 -0
  511. handyhelpers/static/node_modules/uglify-js/tools/tty.js +22 -0
  512. handyhelpers/static/node_modules/unicorn-magic/default.js +14 -0
  513. handyhelpers/static/node_modules/unicorn-magic/index.d.ts +29 -0
  514. handyhelpers/static/node_modules/unicorn-magic/license +9 -0
  515. handyhelpers/static/node_modules/unicorn-magic/node.js +7 -0
  516. handyhelpers/static/node_modules/unicorn-magic/package.json +49 -0
  517. handyhelpers/static/node_modules/unicorn-magic/readme.md +25 -0
  518. handyhelpers/static/node_modules/yocto-queue/index.d.ts +61 -0
  519. handyhelpers/static/node_modules/yocto-queue/index.js +78 -0
  520. handyhelpers/static/node_modules/yocto-queue/license +9 -0
  521. handyhelpers/static/node_modules/yocto-queue/package.json +48 -0
  522. handyhelpers/static/node_modules/yocto-queue/readme.md +70 -0
  523. handyhelpers/static/package.json +3 -1
  524. handyhelpers/static/yarn.lock +393 -20
  525. handyhelpers/templates/handyhelpers/generic/bs5/generic_index.html +5 -8
  526. handyhelpers/templates/handyhelpers/handyhelpers_base_bs5.htm +5 -1
  527. handyhelpers/templates/handyhelpers/handyhelpers_with_sidebar.htm +50 -3
  528. handyhelpers/templates/handyhelpers/htmx/bs5/filter_form/generic_modal_swap.htm +48 -0
  529. handyhelpers/templates/handyhelpers/htmx/bs5/form/form_wrapper.htm +48 -0
  530. handyhelpers/templates/handyhelpers/htmx/bs5/form/inline_form.htm +166 -0
  531. handyhelpers/templates/handyhelpers/htmx/bs5/form/inline_form_disabled.htm +125 -0
  532. handyhelpers/templates/handyhelpers/htmx/bs5/generic_modal_swap.htm +2 -3
  533. handyhelpers/templates/handyhelpers/htmx/bs5/htmx_option_multi_filter_view/content_title.htm +38 -0
  534. handyhelpers/templates/handyhelpers/htmx/bs5/htmx_option_multi_filter_view/controls.htm +21 -0
  535. handyhelpers/templates/handyhelpers/htmx/bs5/htmx_option_multi_filter_view/examples/card.htm +17 -0
  536. handyhelpers/templates/handyhelpers/htmx/bs5/htmx_option_multi_filter_view/examples/list.htm +11 -0
  537. handyhelpers/templates/handyhelpers/htmx/bs5/htmx_option_multi_filter_view/examples/table.htm +21 -0
  538. handyhelpers/templates/handyhelpers/htmx/bs5/htmx_option_multi_filter_view/filter_form_modal_swap.htm +48 -0
  539. handyhelpers/templates/handyhelpers/htmx/bs5/htmx_option_multi_filter_view/full.html +6 -0
  540. handyhelpers/templates/handyhelpers/htmx/bs5/htmx_option_multi_filter_view/wrapper_card.htm +7 -0
  541. handyhelpers/templates/handyhelpers/htmx/bs5/htmx_option_multi_filter_view/wrapper_list.htm +7 -0
  542. handyhelpers/templates/handyhelpers/htmx/bs5/htmx_option_multi_filter_view/wrapper_minimal.htm +7 -0
  543. handyhelpers/templates/handyhelpers/htmx/bs5/htmx_option_multi_filter_view/wrapper_table.htm +18 -0
  544. handyhelpers/templates/handyhelpers/htmx/bs5/index.htm +34 -0
  545. handyhelpers/templates/handyhelpers/report/annual_stats.html +6 -0
  546. handyhelpers/templates/handyhelpers/report/annual_stats_content.htm +43 -0
  547. handyhelpers/templates/handyhelpers/report/chartjs/annual_progress_chart.htm +1 -1
  548. handyhelpers/templates/handyhelpers/report/chartjs/annual_progress_content.htm +40 -39
  549. handyhelpers/templates/handyhelpers/report/chartjs/annual_stats.html +25 -36
  550. handyhelpers/templates/handyhelpers/report/chartjs/annual_trends_content.htm +35 -34
  551. handyhelpers/templates/handyhelpers/report/chartjs/day_count_chart.htm +1 -1
  552. handyhelpers/templates/handyhelpers/report/chartjs/month_count_chart.htm +1 -1
  553. handyhelpers/templates/handyhelpers/report/chartjs/week_count_chart.htm +1 -1
  554. handyhelpers/templates/handyhelpers/report/chartjs/year_count_chart.htm +1 -1
  555. handyhelpers/templatetags/form_tags.py +47 -0
  556. handyhelpers/templatetags/htmx_tags.py +21 -0
  557. handyhelpers/views/action.py +3 -1
  558. handyhelpers/views/calendar.py +33 -14
  559. handyhelpers/views/htmx.py +396 -4
  560. handyhelpers/views/report.py +12 -5
  561. handyhelpers/management/commands/generate_admin.py +0 -110
  562. handyhelpers/static/node_modules/@popperjs/core/dist/esm/utils/format.js +0 -9
  563. handyhelpers/static/node_modules/@popperjs/core/dist/esm/utils/validateModifiers.js +0 -81
  564. handyhelpers/static/node_modules/@popperjs/core/lib/utils/format.d.ts +0 -1
  565. handyhelpers/static/node_modules/@popperjs/core/lib/utils/format.js +0 -9
  566. handyhelpers/static/node_modules/@popperjs/core/lib/utils/format.js.flow +0 -5
  567. handyhelpers/static/node_modules/@popperjs/core/lib/utils/validateModifiers.d.ts +0 -1
  568. handyhelpers/static/node_modules/@popperjs/core/lib/utils/validateModifiers.js +0 -81
  569. handyhelpers/static/node_modules/@popperjs/core/lib/utils/validateModifiers.js.flow +0 -151
  570. {django_handyhelpers-0.3.20.dist-info → django_handyhelpers-0.3.35.dist-info}/LICENSE +0 -0
  571. {django_handyhelpers-0.3.20.dist-info → django_handyhelpers-0.3.35.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,1134 @@
1
+ # Commander.js
2
+
3
+ [![Build Status](https://github.com/tj/commander.js/workflows/build/badge.svg)](https://github.com/tj/commander.js/actions?query=workflow%3A%22build%22)
4
+ [![NPM Version](http://img.shields.io/npm/v/commander.svg?style=flat)](https://www.npmjs.org/package/commander)
5
+ [![NPM Downloads](https://img.shields.io/npm/dm/commander.svg?style=flat)](https://npmcharts.com/compare/commander?minimal=true)
6
+ [![Install Size](https://packagephobia.now.sh/badge?p=commander)](https://packagephobia.now.sh/result?p=commander)
7
+
8
+ The complete solution for [node.js](http://nodejs.org) command-line interfaces.
9
+
10
+ Read this in other languages: English | [简体中文](./Readme_zh-CN.md)
11
+
12
+ - [Commander.js](#commanderjs)
13
+ - [Installation](#installation)
14
+ - [Quick Start](#quick-start)
15
+ - [Declaring _program_ variable](#declaring-program-variable)
16
+ - [Options](#options)
17
+ - [Common option types, boolean and value](#common-option-types-boolean-and-value)
18
+ - [Default option value](#default-option-value)
19
+ - [Other option types, negatable boolean and boolean|value](#other-option-types-negatable-boolean-and-booleanvalue)
20
+ - [Required option](#required-option)
21
+ - [Variadic option](#variadic-option)
22
+ - [Version option](#version-option)
23
+ - [More configuration](#more-configuration)
24
+ - [Custom option processing](#custom-option-processing)
25
+ - [Commands](#commands)
26
+ - [Command-arguments](#command-arguments)
27
+ - [More configuration](#more-configuration-1)
28
+ - [Custom argument processing](#custom-argument-processing)
29
+ - [Action handler](#action-handler)
30
+ - [Stand-alone executable (sub)commands](#stand-alone-executable-subcommands)
31
+ - [Life cycle hooks](#life-cycle-hooks)
32
+ - [Automated help](#automated-help)
33
+ - [Custom help](#custom-help)
34
+ - [Display help after errors](#display-help-after-errors)
35
+ - [Display help from code](#display-help-from-code)
36
+ - [.name](#name)
37
+ - [.usage](#usage)
38
+ - [.description and .summary](#description-and-summary)
39
+ - [.helpOption(flags, description)](#helpoptionflags-description)
40
+ - [.addHelpCommand()](#addhelpcommand)
41
+ - [More configuration](#more-configuration-2)
42
+ - [Custom event listeners](#custom-event-listeners)
43
+ - [Bits and pieces](#bits-and-pieces)
44
+ - [.parse() and .parseAsync()](#parse-and-parseasync)
45
+ - [Parsing Configuration](#parsing-configuration)
46
+ - [Legacy options as properties](#legacy-options-as-properties)
47
+ - [TypeScript](#typescript)
48
+ - [createCommand()](#createcommand)
49
+ - [Node options such as `--harmony`](#node-options-such-as---harmony)
50
+ - [Debugging stand-alone executable subcommands](#debugging-stand-alone-executable-subcommands)
51
+ - [Display error](#display-error)
52
+ - [Override exit and output handling](#override-exit-and-output-handling)
53
+ - [Additional documentation](#additional-documentation)
54
+ - [Support](#support)
55
+ - [Commander for enterprise](#commander-for-enterprise)
56
+
57
+ For information about terms used in this document see: [terminology](./docs/terminology.md)
58
+
59
+ ## Installation
60
+
61
+ ```sh
62
+ npm install commander
63
+ ```
64
+
65
+ ## Quick Start
66
+
67
+ You write code to describe your command line interface.
68
+ Commander looks after parsing the arguments into options and command-arguments,
69
+ displays usage errors for problems, and implements a help system.
70
+
71
+ Commander is strict and displays an error for unrecognised options.
72
+ The two most used option types are a boolean option, and an option which takes its value from the following argument.
73
+
74
+ Example file: [split.js](./examples/split.js)
75
+
76
+ ```js
77
+ const { program } = require('commander');
78
+
79
+ program
80
+ .option('--first')
81
+ .option('-s, --separator <char>');
82
+
83
+ program.parse();
84
+
85
+ const options = program.opts();
86
+ const limit = options.first ? 1 : undefined;
87
+ console.log(program.args[0].split(options.separator, limit));
88
+ ```
89
+
90
+ ```console
91
+ $ node split.js -s / --fits a/b/c
92
+ error: unknown option '--fits'
93
+ (Did you mean --first?)
94
+ $ node split.js -s / --first a/b/c
95
+ [ 'a' ]
96
+ ```
97
+
98
+ Here is a more complete program using a subcommand and with descriptions for the help. In a multi-command program, you have an action handler for each command (or stand-alone executables for the commands).
99
+
100
+ Example file: [string-util.js](./examples/string-util.js)
101
+
102
+ ```js
103
+ const { Command } = require('commander');
104
+ const program = new Command();
105
+
106
+ program
107
+ .name('string-util')
108
+ .description('CLI to some JavaScript string utilities')
109
+ .version('0.8.0');
110
+
111
+ program.command('split')
112
+ .description('Split a string into substrings and display as an array')
113
+ .argument('<string>', 'string to split')
114
+ .option('--first', 'display just the first substring')
115
+ .option('-s, --separator <char>', 'separator character', ',')
116
+ .action((str, options) => {
117
+ const limit = options.first ? 1 : undefined;
118
+ console.log(str.split(options.separator, limit));
119
+ });
120
+
121
+ program.parse();
122
+ ```
123
+
124
+ ```console
125
+ $ node string-util.js help split
126
+ Usage: string-util split [options] <string>
127
+
128
+ Split a string into substrings and display as an array.
129
+
130
+ Arguments:
131
+ string string to split
132
+
133
+ Options:
134
+ --first display just the first substring
135
+ -s, --separator <char> separator character (default: ",")
136
+ -h, --help display help for command
137
+
138
+ $ node string-util.js split --separator=/ a/b/c
139
+ [ 'a', 'b', 'c' ]
140
+ ```
141
+
142
+ More samples can be found in the [examples](https://github.com/tj/commander.js/tree/master/examples) directory.
143
+
144
+ ## Declaring _program_ variable
145
+
146
+ Commander exports a global object which is convenient for quick programs.
147
+ This is used in the examples in this README for brevity.
148
+
149
+ ```js
150
+ // CommonJS (.cjs)
151
+ const { program } = require('commander');
152
+ ```
153
+
154
+ For larger programs which may use commander in multiple ways, including unit testing, it is better to create a local Command object to use.
155
+
156
+ ```js
157
+ // CommonJS (.cjs)
158
+ const { Command } = require('commander');
159
+ const program = new Command();
160
+ ```
161
+
162
+ ```js
163
+ // ECMAScript (.mjs)
164
+ import { Command } from 'commander';
165
+ const program = new Command();
166
+ ```
167
+
168
+ ```ts
169
+ // TypeScript (.ts)
170
+ import { Command } from 'commander';
171
+ const program = new Command();
172
+ ```
173
+
174
+ ## Options
175
+
176
+ Options are defined with the `.option()` method, also serving as documentation for the options. Each option can have a short flag (single character) and a long name, separated by a comma or space or vertical bar ('|').
177
+
178
+ The parsed options can be accessed by calling `.opts()` on a `Command` object, and are passed to the action handler.
179
+
180
+ Multi-word options such as "--template-engine" are camel-cased, becoming `program.opts().templateEngine` etc.
181
+
182
+ An option and its option-argument can be separated by a space, or combined into the same argument. The option-argument can follow the short option directly or follow an `=` for a long option.
183
+
184
+ ```sh
185
+ serve -p 80
186
+ serve -p80
187
+ serve --port 80
188
+ serve --port=80
189
+ ```
190
+
191
+ You can use `--` to indicate the end of the options, and any remaining arguments will be used without being interpreted.
192
+
193
+ By default options on the command line are not positional, and can be specified before or after other arguments.
194
+
195
+ There are additional related routines for when `.opts()` is not enough:
196
+
197
+ - `.optsWithGlobals()` returns merged local and global option values
198
+ - `.getOptionValue()` and `.setOptionValue()` work with a single option value
199
+ - `.getOptionValueSource()` and `.setOptionValueWithSource()` include where the option value came from
200
+
201
+ ### Common option types, boolean and value
202
+
203
+ The two most used option types are a boolean option, and an option which takes its value
204
+ from the following argument (declared with angle brackets like `--expect <value>`). Both are `undefined` unless specified on command line.
205
+
206
+ Example file: [options-common.js](./examples/options-common.js)
207
+
208
+ ```js
209
+ program
210
+ .option('-d, --debug', 'output extra debugging')
211
+ .option('-s, --small', 'small pizza size')
212
+ .option('-p, --pizza-type <type>', 'flavour of pizza');
213
+
214
+ program.parse(process.argv);
215
+
216
+ const options = program.opts();
217
+ if (options.debug) console.log(options);
218
+ console.log('pizza details:');
219
+ if (options.small) console.log('- small pizza size');
220
+ if (options.pizzaType) console.log(`- ${options.pizzaType}`);
221
+ ```
222
+
223
+ ```console
224
+ $ pizza-options -p
225
+ error: option '-p, --pizza-type <type>' argument missing
226
+ $ pizza-options -d -s -p vegetarian
227
+ { debug: true, small: true, pizzaType: 'vegetarian' }
228
+ pizza details:
229
+ - small pizza size
230
+ - vegetarian
231
+ $ pizza-options --pizza-type=cheese
232
+ pizza details:
233
+ - cheese
234
+ ```
235
+
236
+ Multiple boolean short options may be combined together following the dash, and may be followed by a single short option taking a value.
237
+ For example `-d -s -p cheese` may be written as `-ds -p cheese` or even `-dsp cheese`.
238
+
239
+ Options with an expected option-argument are greedy and will consume the following argument whatever the value.
240
+ So `--id -xyz` reads `-xyz` as the option-argument.
241
+
242
+ `program.parse(arguments)` processes the arguments, leaving any args not consumed by the program options in the `program.args` array. The parameter is optional and defaults to `process.argv`.
243
+
244
+ ### Default option value
245
+
246
+ You can specify a default value for an option.
247
+
248
+ Example file: [options-defaults.js](./examples/options-defaults.js)
249
+
250
+ ```js
251
+ program
252
+ .option('-c, --cheese <type>', 'add the specified type of cheese', 'blue');
253
+
254
+ program.parse();
255
+
256
+ console.log(`cheese: ${program.opts().cheese}`);
257
+ ```
258
+
259
+ ```console
260
+ $ pizza-options
261
+ cheese: blue
262
+ $ pizza-options --cheese stilton
263
+ cheese: stilton
264
+ ```
265
+
266
+ ### Other option types, negatable boolean and boolean|value
267
+
268
+ You can define a boolean option long name with a leading `no-` to set the option value to false when used.
269
+ Defined alone this also makes the option true by default.
270
+
271
+ If you define `--foo` first, adding `--no-foo` does not change the default value from what it would
272
+ otherwise be.
273
+
274
+ Example file: [options-negatable.js](./examples/options-negatable.js)
275
+
276
+ ```js
277
+ program
278
+ .option('--no-sauce', 'Remove sauce')
279
+ .option('--cheese <flavour>', 'cheese flavour', 'mozzarella')
280
+ .option('--no-cheese', 'plain with no cheese')
281
+ .parse();
282
+
283
+ const options = program.opts();
284
+ const sauceStr = options.sauce ? 'sauce' : 'no sauce';
285
+ const cheeseStr = (options.cheese === false) ? 'no cheese' : `${options.cheese} cheese`;
286
+ console.log(`You ordered a pizza with ${sauceStr} and ${cheeseStr}`);
287
+ ```
288
+
289
+ ```console
290
+ $ pizza-options
291
+ You ordered a pizza with sauce and mozzarella cheese
292
+ $ pizza-options --sauce
293
+ error: unknown option '--sauce'
294
+ $ pizza-options --cheese=blue
295
+ You ordered a pizza with sauce and blue cheese
296
+ $ pizza-options --no-sauce --no-cheese
297
+ You ordered a pizza with no sauce and no cheese
298
+ ```
299
+
300
+ You can specify an option which may be used as a boolean option but may optionally take an option-argument
301
+ (declared with square brackets like `--optional [value]`).
302
+
303
+ Example file: [options-boolean-or-value.js](./examples/options-boolean-or-value.js)
304
+
305
+ ```js
306
+ program
307
+ .option('-c, --cheese [type]', 'Add cheese with optional type');
308
+
309
+ program.parse(process.argv);
310
+
311
+ const options = program.opts();
312
+ if (options.cheese === undefined) console.log('no cheese');
313
+ else if (options.cheese === true) console.log('add cheese');
314
+ else console.log(`add cheese type ${options.cheese}`);
315
+ ```
316
+
317
+ ```console
318
+ $ pizza-options
319
+ no cheese
320
+ $ pizza-options --cheese
321
+ add cheese
322
+ $ pizza-options --cheese mozzarella
323
+ add cheese type mozzarella
324
+ ```
325
+
326
+ Options with an optional option-argument are not greedy and will ignore arguments starting with a dash.
327
+ So `id` behaves as a boolean option for `--id -5`, but you can use a combined form if needed like `--id=-5`.
328
+
329
+ For information about possible ambiguous cases, see [options taking varying arguments](./docs/options-taking-varying-arguments.md).
330
+
331
+ ### Required option
332
+
333
+ You may specify a required (mandatory) option using `.requiredOption()`. The option must have a value after parsing, usually specified on the command line, or perhaps from a default value (say from environment). The method is otherwise the same as `.option()` in format, taking flags and description, and optional default value or custom processing.
334
+
335
+ Example file: [options-required.js](./examples/options-required.js)
336
+
337
+ ```js
338
+ program
339
+ .requiredOption('-c, --cheese <type>', 'pizza must have cheese');
340
+
341
+ program.parse();
342
+ ```
343
+
344
+ ```console
345
+ $ pizza
346
+ error: required option '-c, --cheese <type>' not specified
347
+ ```
348
+
349
+ ### Variadic option
350
+
351
+ You may make an option variadic by appending `...` to the value placeholder when declaring the option. On the command line you
352
+ can then specify multiple option-arguments, and the parsed option value will be an array. The extra arguments
353
+ are read until the first argument starting with a dash. The special argument `--` stops option processing entirely. If a value
354
+ is specified in the same argument as the option then no further values are read.
355
+
356
+ Example file: [options-variadic.js](./examples/options-variadic.js)
357
+
358
+ ```js
359
+ program
360
+ .option('-n, --number <numbers...>', 'specify numbers')
361
+ .option('-l, --letter [letters...]', 'specify letters');
362
+
363
+ program.parse();
364
+
365
+ console.log('Options: ', program.opts());
366
+ console.log('Remaining arguments: ', program.args);
367
+ ```
368
+
369
+ ```console
370
+ $ collect -n 1 2 3 --letter a b c
371
+ Options: { number: [ '1', '2', '3' ], letter: [ 'a', 'b', 'c' ] }
372
+ Remaining arguments: []
373
+ $ collect --letter=A -n80 operand
374
+ Options: { number: [ '80' ], letter: [ 'A' ] }
375
+ Remaining arguments: [ 'operand' ]
376
+ $ collect --letter -n 1 -n 2 3 -- operand
377
+ Options: { number: [ '1', '2', '3' ], letter: true }
378
+ Remaining arguments: [ 'operand' ]
379
+ ```
380
+
381
+ For information about possible ambiguous cases, see [options taking varying arguments](./docs/options-taking-varying-arguments.md).
382
+
383
+ ### Version option
384
+
385
+ The optional `version` method adds handling for displaying the command version. The default option flags are `-V` and `--version`, and when present the command prints the version number and exits.
386
+
387
+ ```js
388
+ program.version('0.0.1');
389
+ ```
390
+
391
+ ```console
392
+ $ ./examples/pizza -V
393
+ 0.0.1
394
+ ```
395
+
396
+ You may change the flags and description by passing additional parameters to the `version` method, using
397
+ the same syntax for flags as the `option` method.
398
+
399
+ ```js
400
+ program.version('0.0.1', '-v, --vers', 'output the current version');
401
+ ```
402
+
403
+ ### More configuration
404
+
405
+ You can add most options using the `.option()` method, but there are some additional features available
406
+ by constructing an `Option` explicitly for less common cases.
407
+
408
+ Example files: [options-extra.js](./examples/options-extra.js), [options-env.js](./examples/options-env.js), [options-conflicts.js](./examples/options-conflicts.js), [options-implies.js](./examples/options-implies.js)
409
+
410
+ ```js
411
+ program
412
+ .addOption(new Option('-s, --secret').hideHelp())
413
+ .addOption(new Option('-t, --timeout <delay>', 'timeout in seconds').default(60, 'one minute'))
414
+ .addOption(new Option('-d, --drink <size>', 'drink size').choices(['small', 'medium', 'large']))
415
+ .addOption(new Option('-p, --port <number>', 'port number').env('PORT'))
416
+ .addOption(new Option('--donate [amount]', 'optional donation in dollars').preset('20').argParser(parseFloat))
417
+ .addOption(new Option('--disable-server', 'disables the server').conflicts('port'))
418
+ .addOption(new Option('--free-drink', 'small drink included free ').implies({ drink: 'small' }));
419
+ ```
420
+
421
+ ```console
422
+ $ extra --help
423
+ Usage: help [options]
424
+
425
+ Options:
426
+ -t, --timeout <delay> timeout in seconds (default: one minute)
427
+ -d, --drink <size> drink cup size (choices: "small", "medium", "large")
428
+ -p, --port <number> port number (env: PORT)
429
+ --donate [amount] optional donation in dollars (preset: "20")
430
+ --disable-server disables the server
431
+ --free-drink small drink included free
432
+ -h, --help display help for command
433
+
434
+ $ extra --drink huge
435
+ error: option '-d, --drink <size>' argument 'huge' is invalid. Allowed choices are small, medium, large.
436
+
437
+ $ PORT=80 extra --donate --free-drink
438
+ Options: { timeout: 60, donate: 20, port: '80', freeDrink: true, drink: 'small' }
439
+
440
+ $ extra --disable-server --port 8000
441
+ error: option '--disable-server' cannot be used with option '-p, --port <number>'
442
+ ```
443
+
444
+ Specify a required (mandatory) option using the `Option` method `.makeOptionMandatory()`. This matches the `Command` method [.requiredOption()](#required-option).
445
+
446
+ ### Custom option processing
447
+
448
+ You may specify a function to do custom processing of option-arguments. The callback function receives two parameters,
449
+ the user specified option-argument and the previous value for the option. It returns the new value for the option.
450
+
451
+ This allows you to coerce the option-argument to the desired type, or accumulate values, or do entirely custom processing.
452
+
453
+ You can optionally specify the default/starting value for the option after the function parameter.
454
+
455
+ Example file: [options-custom-processing.js](./examples/options-custom-processing.js)
456
+
457
+ ```js
458
+ function myParseInt(value, dummyPrevious) {
459
+ // parseInt takes a string and a radix
460
+ const parsedValue = parseInt(value, 10);
461
+ if (isNaN(parsedValue)) {
462
+ throw new commander.InvalidArgumentError('Not a number.');
463
+ }
464
+ return parsedValue;
465
+ }
466
+
467
+ function increaseVerbosity(dummyValue, previous) {
468
+ return previous + 1;
469
+ }
470
+
471
+ function collect(value, previous) {
472
+ return previous.concat([value]);
473
+ }
474
+
475
+ function commaSeparatedList(value, dummyPrevious) {
476
+ return value.split(',');
477
+ }
478
+
479
+ program
480
+ .option('-f, --float <number>', 'float argument', parseFloat)
481
+ .option('-i, --integer <number>', 'integer argument', myParseInt)
482
+ .option('-v, --verbose', 'verbosity that can be increased', increaseVerbosity, 0)
483
+ .option('-c, --collect <value>', 'repeatable value', collect, [])
484
+ .option('-l, --list <items>', 'comma separated list', commaSeparatedList)
485
+ ;
486
+
487
+ program.parse();
488
+
489
+ const options = program.opts();
490
+ if (options.float !== undefined) console.log(`float: ${options.float}`);
491
+ if (options.integer !== undefined) console.log(`integer: ${options.integer}`);
492
+ if (options.verbose > 0) console.log(`verbosity: ${options.verbose}`);
493
+ if (options.collect.length > 0) console.log(options.collect);
494
+ if (options.list !== undefined) console.log(options.list);
495
+ ```
496
+
497
+ ```console
498
+ $ custom -f 1e2
499
+ float: 100
500
+ $ custom --integer 2
501
+ integer: 2
502
+ $ custom -v -v -v
503
+ verbose: 3
504
+ $ custom -c a -c b -c c
505
+ [ 'a', 'b', 'c' ]
506
+ $ custom --list x,y,z
507
+ [ 'x', 'y', 'z' ]
508
+ ```
509
+
510
+ ## Commands
511
+
512
+ You can specify (sub)commands using `.command()` or `.addCommand()`. There are two ways these can be implemented: using an action handler attached to the command, or as a stand-alone executable file (described in more detail later). The subcommands may be nested ([example](./examples/nestedCommands.js)).
513
+
514
+ In the first parameter to `.command()` you specify the command name. You may append the command-arguments after the command name, or specify them separately using `.argument()`. The arguments may be `<required>` or `[optional]`, and the last argument may also be `variadic...`.
515
+
516
+ You can use `.addCommand()` to add an already configured subcommand to the program.
517
+
518
+ For example:
519
+
520
+ ```js
521
+ // Command implemented using action handler (description is supplied separately to `.command`)
522
+ // Returns new command for configuring.
523
+ program
524
+ .command('clone <source> [destination]')
525
+ .description('clone a repository into a newly created directory')
526
+ .action((source, destination) => {
527
+ console.log('clone command called');
528
+ });
529
+
530
+ // Command implemented using stand-alone executable file, indicated by adding description as second parameter to `.command`.
531
+ // Returns `this` for adding more commands.
532
+ program
533
+ .command('start <service>', 'start named service')
534
+ .command('stop [service]', 'stop named service, or all if no name supplied');
535
+
536
+ // Command prepared separately.
537
+ // Returns `this` for adding more commands.
538
+ program
539
+ .addCommand(build.makeBuildCommand());
540
+ ```
541
+
542
+ Configuration options can be passed with the call to `.command()` and `.addCommand()`. Specifying `hidden: true` will
543
+ remove the command from the generated help output. Specifying `isDefault: true` will run the subcommand if no other
544
+ subcommand is specified ([example](./examples/defaultCommand.js)).
545
+
546
+ You can add alternative names for a command with `.alias()`. ([example](./examples/alias.js))
547
+
548
+ For safety, `.addCommand()` does not automatically copy the inherited settings from the parent command. There is a helper routine `.copyInheritedSettings()` for copying the settings when they are wanted.
549
+
550
+ ### Command-arguments
551
+
552
+ For subcommands, you can specify the argument syntax in the call to `.command()` (as shown above). This
553
+ is the only method usable for subcommands implemented using a stand-alone executable, but for other subcommands
554
+ you can instead use the following method.
555
+
556
+ To configure a command, you can use `.argument()` to specify each expected command-argument.
557
+ You supply the argument name and an optional description. The argument may be `<required>` or `[optional]`.
558
+ You can specify a default value for an optional command-argument.
559
+
560
+ Example file: [argument.js](./examples/argument.js)
561
+
562
+ ```js
563
+ program
564
+ .version('0.1.0')
565
+ .argument('<username>', 'user to login')
566
+ .argument('[password]', 'password for user, if required', 'no password given')
567
+ .action((username, password) => {
568
+ console.log('username:', username);
569
+ console.log('password:', password);
570
+ });
571
+ ```
572
+
573
+ The last argument of a command can be variadic, and only the last argument. To make an argument variadic you
574
+ append `...` to the argument name. A variadic argument is passed to the action handler as an array. For example:
575
+
576
+ ```js
577
+ program
578
+ .version('0.1.0')
579
+ .command('rmdir')
580
+ .argument('<dirs...>')
581
+ .action(function (dirs) {
582
+ dirs.forEach((dir) => {
583
+ console.log('rmdir %s', dir);
584
+ });
585
+ });
586
+ ```
587
+
588
+ There is a convenience method to add multiple arguments at once, but without descriptions:
589
+
590
+ ```js
591
+ program
592
+ .arguments('<username> <password>');
593
+ ```
594
+
595
+ #### More configuration
596
+
597
+ There are some additional features available by constructing an `Argument` explicitly for less common cases.
598
+
599
+ Example file: [arguments-extra.js](./examples/arguments-extra.js)
600
+
601
+ ```js
602
+ program
603
+ .addArgument(new commander.Argument('<drink-size>', 'drink cup size').choices(['small', 'medium', 'large']))
604
+ .addArgument(new commander.Argument('[timeout]', 'timeout in seconds').default(60, 'one minute'))
605
+ ```
606
+
607
+ #### Custom argument processing
608
+
609
+ You may specify a function to do custom processing of command-arguments (like for option-arguments).
610
+ The callback function receives two parameters, the user specified command-argument and the previous value for the argument.
611
+ It returns the new value for the argument.
612
+
613
+ The processed argument values are passed to the action handler, and saved as `.processedArgs`.
614
+
615
+ You can optionally specify the default/starting value for the argument after the function parameter.
616
+
617
+ Example file: [arguments-custom-processing.js](./examples/arguments-custom-processing.js)
618
+
619
+ ```js
620
+ program
621
+ .command('add')
622
+ .argument('<first>', 'integer argument', myParseInt)
623
+ .argument('[second]', 'integer argument', myParseInt, 1000)
624
+ .action((first, second) => {
625
+ console.log(`${first} + ${second} = ${first + second}`);
626
+ })
627
+ ;
628
+ ```
629
+
630
+ ### Action handler
631
+
632
+ The action handler gets passed a parameter for each command-argument you declared, and two additional parameters
633
+ which are the parsed options and the command object itself.
634
+
635
+ Example file: [thank.js](./examples/thank.js)
636
+
637
+ ```js
638
+ program
639
+ .argument('<name>')
640
+ .option('-t, --title <honorific>', 'title to use before name')
641
+ .option('-d, --debug', 'display some debugging')
642
+ .action((name, options, command) => {
643
+ if (options.debug) {
644
+ console.error('Called %s with options %o', command.name(), options);
645
+ }
646
+ const title = options.title ? `${options.title} ` : '';
647
+ console.log(`Thank-you ${title}${name}`);
648
+ });
649
+ ```
650
+
651
+ If you prefer, you can work with the command directly and skip declaring the parameters for the action handler. The `this` keyword is set to the running command and can be used from a function expression (but not from an arrow function).
652
+
653
+ Example file: [action-this.js](./examples/action-this.js)
654
+
655
+ ```js
656
+ program
657
+ .command('serve')
658
+ .argument('<script>')
659
+ .option('-p, --port <number>', 'port number', 80)
660
+ .action(function() {
661
+ console.error('Run script %s on port %s', this.args[0], this.opts().port);
662
+ });
663
+ ```
664
+
665
+ You may supply an `async` action handler, in which case you call `.parseAsync` rather than `.parse`.
666
+
667
+ ```js
668
+ async function run() { /* code goes here */ }
669
+
670
+ async function main() {
671
+ program
672
+ .command('run')
673
+ .action(run);
674
+ await program.parseAsync(process.argv);
675
+ }
676
+ ```
677
+
678
+ A command's options and arguments on the command line are validated when the command is used. Any unknown options or missing arguments will be reported as an error. You can suppress the unknown option checks with `.allowUnknownOption()`. By default it is not an error to
679
+ pass more arguments than declared, but you can make this an error with `.allowExcessArguments(false)`.
680
+
681
+ ### Stand-alone executable (sub)commands
682
+
683
+ When `.command()` is invoked with a description argument, this tells Commander that you're going to use stand-alone executables for subcommands.
684
+ Commander will search the files in the directory of the entry script for a file with the name combination `command-subcommand`, like `pm-install` or `pm-search` in the example below. The search includes trying common file extensions, like `.js`.
685
+ You may specify a custom name (and path) with the `executableFile` configuration option.
686
+ You may specify a custom search directory for subcommands with `.executableDir()`.
687
+
688
+ You handle the options for an executable (sub)command in the executable, and don't declare them at the top-level.
689
+
690
+ Example file: [pm](./examples/pm)
691
+
692
+ ```js
693
+ program
694
+ .name('pm')
695
+ .version('0.1.0')
696
+ .command('install [name]', 'install one or more packages')
697
+ .command('search [query]', 'search with optional query')
698
+ .command('update', 'update installed packages', { executableFile: 'myUpdateSubCommand' })
699
+ .command('list', 'list packages installed', { isDefault: true });
700
+
701
+ program.parse(process.argv);
702
+ ```
703
+
704
+ If the program is designed to be installed globally, make sure the executables have proper modes, like `755`.
705
+
706
+ ### Life cycle hooks
707
+
708
+ You can add callback hooks to a command for life cycle events.
709
+
710
+ Example file: [hook.js](./examples/hook.js)
711
+
712
+ ```js
713
+ program
714
+ .option('-t, --trace', 'display trace statements for commands')
715
+ .hook('preAction', (thisCommand, actionCommand) => {
716
+ if (thisCommand.opts().trace) {
717
+ console.log(`About to call action handler for subcommand: ${actionCommand.name()}`);
718
+ console.log('arguments: %O', actionCommand.args);
719
+ console.log('options: %o', actionCommand.opts());
720
+ }
721
+ });
722
+ ```
723
+
724
+ The callback hook can be `async`, in which case you call `.parseAsync` rather than `.parse`. You can add multiple hooks per event.
725
+
726
+ The supported events are:
727
+
728
+ | event name | when hook called | callback parameters |
729
+ | :-- | :-- | :-- |
730
+ | `preAction`, `postAction` | before/after action handler for this command and its nested subcommands | `(thisCommand, actionCommand)` |
731
+ | `preSubcommand` | before parsing direct subcommand | `(thisCommand, subcommand)` |
732
+
733
+ For an overview of the life cycle events see [parsing life cycle and hooks](./docs/parsing-and-hooks.md).
734
+
735
+ ## Automated help
736
+
737
+ The help information is auto-generated based on the information commander already knows about your program. The default
738
+ help option is `-h,--help`.
739
+
740
+ Example file: [pizza](./examples/pizza)
741
+
742
+ ```console
743
+ $ node ./examples/pizza --help
744
+ Usage: pizza [options]
745
+
746
+ An application for pizza ordering
747
+
748
+ Options:
749
+ -p, --peppers Add peppers
750
+ -c, --cheese <type> Add the specified type of cheese (default: "marble")
751
+ -C, --no-cheese You do not want any cheese
752
+ -h, --help display help for command
753
+ ```
754
+
755
+ A `help` command is added by default if your command has subcommands. It can be used alone, or with a subcommand name to show
756
+ further help for the subcommand. These are effectively the same if the `shell` program has implicit help:
757
+
758
+ ```sh
759
+ shell help
760
+ shell --help
761
+
762
+ shell help spawn
763
+ shell spawn --help
764
+ ```
765
+
766
+ Long descriptions are wrapped to fit the available width. (However, a description that includes a line-break followed by whitespace is assumed to be pre-formatted and not wrapped.)
767
+
768
+ ### Custom help
769
+
770
+ You can add extra text to be displayed along with the built-in help.
771
+
772
+ Example file: [custom-help](./examples/custom-help)
773
+
774
+ ```js
775
+ program
776
+ .option('-f, --foo', 'enable some foo');
777
+
778
+ program.addHelpText('after', `
779
+
780
+ Example call:
781
+ $ custom-help --help`);
782
+ ```
783
+
784
+ Yields the following help output:
785
+
786
+ ```Text
787
+ Usage: custom-help [options]
788
+
789
+ Options:
790
+ -f, --foo enable some foo
791
+ -h, --help display help for command
792
+
793
+ Example call:
794
+ $ custom-help --help
795
+ ```
796
+
797
+ The positions in order displayed are:
798
+
799
+ - `beforeAll`: add to the program for a global banner or header
800
+ - `before`: display extra information before built-in help
801
+ - `after`: display extra information after built-in help
802
+ - `afterAll`: add to the program for a global footer (epilog)
803
+
804
+ The positions "beforeAll" and "afterAll" apply to the command and all its subcommands.
805
+
806
+ The second parameter can be a string, or a function returning a string. The function is passed a context object for your convenience. The properties are:
807
+
808
+ - error: a boolean for whether the help is being displayed due to a usage error
809
+ - command: the Command which is displaying the help
810
+
811
+ ### Display help after errors
812
+
813
+ The default behaviour for usage errors is to just display a short error message.
814
+ You can change the behaviour to show the full help or a custom help message after an error.
815
+
816
+ ```js
817
+ program.showHelpAfterError();
818
+ // or
819
+ program.showHelpAfterError('(add --help for additional information)');
820
+ ```
821
+
822
+ ```console
823
+ $ pizza --unknown
824
+ error: unknown option '--unknown'
825
+ (add --help for additional information)
826
+ ```
827
+
828
+ The default behaviour is to suggest correct spelling after an error for an unknown command or option. You
829
+ can disable this.
830
+
831
+ ```js
832
+ program.showSuggestionAfterError(false);
833
+ ```
834
+
835
+ ```console
836
+ $ pizza --hepl
837
+ error: unknown option '--hepl'
838
+ (Did you mean --help?)
839
+ ```
840
+
841
+ ### Display help from code
842
+
843
+ `.help()`: display help information and exit immediately. You can optionally pass `{ error: true }` to display on stderr and exit with an error status.
844
+
845
+ `.outputHelp()`: output help information without exiting. You can optionally pass `{ error: true }` to display on stderr.
846
+
847
+ `.helpInformation()`: get the built-in command help information as a string for processing or displaying yourself.
848
+
849
+ ### .name
850
+
851
+ The command name appears in the help, and is also used for locating stand-alone executable subcommands.
852
+
853
+ You may specify the program name using `.name()` or in the Command constructor. For the program, Commander will
854
+ fallback to using the script name from the full arguments passed into `.parse()`. However, the script name varies
855
+ depending on how your program is launched so you may wish to specify it explicitly.
856
+
857
+ ```js
858
+ program.name('pizza');
859
+ const pm = new Command('pm');
860
+ ```
861
+
862
+ Subcommands get a name when specified using `.command()`. If you create the subcommand yourself to use with `.addCommand()`,
863
+ then set the name using `.name()` or in the Command constructor.
864
+
865
+ ### .usage
866
+
867
+ This allows you to customise the usage description in the first line of the help. Given:
868
+
869
+ ```js
870
+ program
871
+ .name("my-command")
872
+ .usage("[global options] command")
873
+ ```
874
+
875
+ The help will start with:
876
+
877
+ ```Text
878
+ Usage: my-command [global options] command
879
+ ```
880
+
881
+ ### .description and .summary
882
+
883
+ The description appears in the help for the command. You can optionally supply a shorter
884
+ summary to use when listed as a subcommand of the program.
885
+
886
+ ```js
887
+ program
888
+ .command("duplicate")
889
+ .summary("make a copy")
890
+ .description(`Make a copy of the current project.
891
+ This may require additional disk space.
892
+ `);
893
+ ```
894
+
895
+ ### .helpOption(flags, description)
896
+
897
+ By default every command has a help option. You may change the default help flags and description. Pass false to disable the built-in help option.
898
+
899
+ ```js
900
+ program
901
+ .helpOption('-e, --HELP', 'read more information');
902
+ ```
903
+
904
+ ### .addHelpCommand()
905
+
906
+ A help command is added by default if your command has subcommands. You can explicitly turn on or off the implicit help command with `.addHelpCommand()` and `.addHelpCommand(false)`.
907
+
908
+ You can both turn on and customise the help command by supplying the name and description:
909
+
910
+ ```js
911
+ program.addHelpCommand('assist [command]', 'show assistance');
912
+ ```
913
+
914
+ ### More configuration
915
+
916
+ The built-in help is formatted using the Help class.
917
+ You can configure the Help behaviour by modifying data properties and methods using `.configureHelp()`, or by subclassing using `.createHelp()` if you prefer.
918
+
919
+ The data properties are:
920
+
921
+ - `helpWidth`: specify the wrap width, useful for unit tests
922
+ - `sortSubcommands`: sort the subcommands alphabetically
923
+ - `sortOptions`: sort the options alphabetically
924
+ - `showGlobalOptions`: show a section with the global options from the parent command(s)
925
+
926
+ You can override any method on the [Help](./lib/help.js) class. There are methods getting the visible lists of arguments, options, and subcommands. There are methods for formatting the items in the lists, with each item having a _term_ and _description_. Take a look at `.formatHelp()` to see how they are used.
927
+
928
+ Example file: [configure-help.js](./examples/configure-help.js)
929
+
930
+ ```js
931
+ program.configureHelp({
932
+ sortSubcommands: true,
933
+ subcommandTerm: (cmd) => cmd.name() // Just show the name, instead of short usage.
934
+ });
935
+ ```
936
+
937
+ ## Custom event listeners
938
+
939
+ You can execute custom actions by listening to command and option events.
940
+
941
+ ```js
942
+ program.on('option:verbose', function () {
943
+ process.env.VERBOSE = this.opts().verbose;
944
+ });
945
+ ```
946
+
947
+ ## Bits and pieces
948
+
949
+ ### .parse() and .parseAsync()
950
+
951
+ The first argument to `.parse` is the array of strings to parse. You may omit the parameter to implicitly use `process.argv`.
952
+
953
+ If the arguments follow different conventions than node you can pass a `from` option in the second parameter:
954
+
955
+ - 'node': default, `argv[0]` is the application and `argv[1]` is the script being run, with user parameters after that
956
+ - 'electron': `argv[1]` varies depending on whether the electron application is packaged
957
+ - 'user': all of the arguments from the user
958
+
959
+ For example:
960
+
961
+ ```js
962
+ program.parse(process.argv); // Explicit, node conventions
963
+ program.parse(); // Implicit, and auto-detect electron
964
+ program.parse(['-f', 'filename'], { from: 'user' });
965
+ ```
966
+
967
+ ### Parsing Configuration
968
+
969
+ If the default parsing does not suit your needs, there are some behaviours to support other usage patterns.
970
+
971
+ By default program options are recognised before and after subcommands. To only look for program options before subcommands, use `.enablePositionalOptions()`. This lets you use
972
+ an option for a different purpose in subcommands.
973
+
974
+ Example file: [positional-options.js](./examples/positional-options.js)
975
+
976
+ With positional options, the `-b` is a program option in the first line and a subcommand option in the second line:
977
+
978
+ ```sh
979
+ program -b subcommand
980
+ program subcommand -b
981
+ ```
982
+
983
+ By default options are recognised before and after command-arguments. To only process options that come
984
+ before the command-arguments, use `.passThroughOptions()`. This lets you pass the arguments and following options through to another program
985
+ without needing to use `--` to end the option processing.
986
+ To use pass through options in a subcommand, the program needs to enable positional options.
987
+
988
+ Example file: [pass-through-options.js](./examples/pass-through-options.js)
989
+
990
+ With pass through options, the `--port=80` is a program option in the first line and passed through as a command-argument in the second line:
991
+
992
+ ```sh
993
+ program --port=80 arg
994
+ program arg --port=80
995
+ ```
996
+
997
+ By default the option processing shows an error for an unknown option. To have an unknown option treated as an ordinary command-argument and continue looking for options, use `.allowUnknownOption()`. This lets you mix known and unknown options.
998
+
999
+ By default the argument processing does not display an error for more command-arguments than expected.
1000
+ To display an error for excess arguments, use`.allowExcessArguments(false)`.
1001
+
1002
+ ### Legacy options as properties
1003
+
1004
+ Before Commander 7, the option values were stored as properties on the command.
1005
+ This was convenient to code but the downside was possible clashes with
1006
+ existing properties of `Command`. You can revert to the old behaviour to run unmodified legacy code by using `.storeOptionsAsProperties()`.
1007
+
1008
+ ```js
1009
+ program
1010
+ .storeOptionsAsProperties()
1011
+ .option('-d, --debug')
1012
+ .action((commandAndOptions) => {
1013
+ if (commandAndOptions.debug) {
1014
+ console.error(`Called ${commandAndOptions.name()}`);
1015
+ }
1016
+ });
1017
+ ```
1018
+
1019
+ ### TypeScript
1020
+
1021
+ extra-typings: There is an optional project to infer extra type information from the option and argument definitions.
1022
+ This adds strong typing to the options returned by `.opts()` and the parameters to `.action()`.
1023
+ See [commander-js/extra-typings](https://github.com/commander-js/extra-typings) for more.
1024
+
1025
+ ```
1026
+ import { Command } from '@commander-js/extra-typings';
1027
+ ```
1028
+
1029
+ ts-node: If you use `ts-node` and stand-alone executable subcommands written as `.ts` files, you need to call your program through node to get the subcommands called correctly. e.g.
1030
+
1031
+ ```sh
1032
+ node -r ts-node/register pm.ts
1033
+ ```
1034
+
1035
+ ### createCommand()
1036
+
1037
+ This factory function creates a new command. It is exported and may be used instead of using `new`, like:
1038
+
1039
+ ```js
1040
+ const { createCommand } = require('commander');
1041
+ const program = createCommand();
1042
+ ```
1043
+
1044
+ `createCommand` is also a method of the Command object, and creates a new command rather than a subcommand. This gets used internally
1045
+ when creating subcommands using `.command()`, and you may override it to
1046
+ customise the new subcommand (example file [custom-command-class.js](./examples/custom-command-class.js)).
1047
+
1048
+ ### Node options such as `--harmony`
1049
+
1050
+ You can enable `--harmony` option in two ways:
1051
+
1052
+ - Use `#! /usr/bin/env node --harmony` in the subcommands scripts. (Note Windows does not support this pattern.)
1053
+ - Use the `--harmony` option when call the command, like `node --harmony examples/pm publish`. The `--harmony` option will be preserved when spawning subcommand process.
1054
+
1055
+ ### Debugging stand-alone executable subcommands
1056
+
1057
+ An executable subcommand is launched as a separate child process.
1058
+
1059
+ If you are using the node inspector for [debugging](https://nodejs.org/en/docs/guides/debugging-getting-started/) executable subcommands using `node --inspect` et al,
1060
+ the inspector port is incremented by 1 for the spawned subcommand.
1061
+
1062
+ If you are using VSCode to debug executable subcommands you need to set the `"autoAttachChildProcesses": true` flag in your launch.json configuration.
1063
+
1064
+ ### Display error
1065
+
1066
+ This routine is available to invoke the Commander error handling for your own error conditions. (See also the next section about exit handling.)
1067
+
1068
+ As well as the error message, you can optionally specify the `exitCode` (used with `process.exit`)
1069
+ and `code` (used with `CommanderError`).
1070
+
1071
+ ```js
1072
+ program.error('Password must be longer than four characters');
1073
+ program.error('Custom processing has failed', { exitCode: 2, code: 'my.custom.error' });
1074
+ ```
1075
+
1076
+ ### Override exit and output handling
1077
+
1078
+ By default Commander calls `process.exit` when it detects errors, or after displaying the help or version. You can override
1079
+ this behaviour and optionally supply a callback. The default override throws a `CommanderError`.
1080
+
1081
+ The override callback is passed a `CommanderError` with properties `exitCode` number, `code` string, and `message`. The default override behaviour is to throw the error, except for async handling of executable subcommand completion which carries on. The normal display of error messages or version or help
1082
+ is not affected by the override which is called after the display.
1083
+
1084
+ ```js
1085
+ program.exitOverride();
1086
+
1087
+ try {
1088
+ program.parse(process.argv);
1089
+ } catch (err) {
1090
+ // custom processing...
1091
+ }
1092
+ ```
1093
+
1094
+ By default Commander is configured for a command-line application and writes to stdout and stderr.
1095
+ You can modify this behaviour for custom applications. In addition, you can modify the display of error messages.
1096
+
1097
+ Example file: [configure-output.js](./examples/configure-output.js)
1098
+
1099
+ ```js
1100
+ function errorColor(str) {
1101
+ // Add ANSI escape codes to display text in red.
1102
+ return `\x1b[31m${str}\x1b[0m`;
1103
+ }
1104
+
1105
+ program
1106
+ .configureOutput({
1107
+ // Visibly override write routines as example!
1108
+ writeOut: (str) => process.stdout.write(`[OUT] ${str}`),
1109
+ writeErr: (str) => process.stdout.write(`[ERR] ${str}`),
1110
+ // Highlight errors in color.
1111
+ outputError: (str, write) => write(errorColor(str))
1112
+ });
1113
+ ```
1114
+
1115
+ ### Additional documentation
1116
+
1117
+ There is more information available about:
1118
+
1119
+ - [deprecated](./docs/deprecated.md) features still supported for backwards compatibility
1120
+ - [options taking varying arguments](./docs/options-taking-varying-arguments.md)
1121
+ - [parsing life cycle and hooks](./docs/parsing-and-hooks.md)
1122
+
1123
+ ## Support
1124
+
1125
+ The current version of Commander is fully supported on Long Term Support versions of Node.js, and requires at least v14.
1126
+ (For older versions of Node.js, use an older version of Commander.)
1127
+
1128
+ The main forum for free and community support is the project [Issues](https://github.com/tj/commander.js/issues) on GitHub.
1129
+
1130
+ ### Commander for enterprise
1131
+
1132
+ Available as part of the Tidelift Subscription
1133
+
1134
+ The maintainers of Commander and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-commander?utm_source=npm-commander&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)