beanhub-cli 1.2.1__tar.gz → 1.2.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (202) hide show
  1. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/PKG-INFO +8 -4
  2. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/README.md +6 -2
  3. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/format.py +35 -12
  4. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/import_cli.py +33 -4
  5. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/pyproject.toml +2 -2
  6. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/LICENSE +0 -0
  7. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/__init__.py +0 -0
  8. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/aliase.py +0 -0
  9. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/cli.py +0 -0
  10. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/environment.py +0 -0
  11. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/__init__.py +0 -0
  12. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/__init__.py +0 -0
  13. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/constants.py +0 -0
  14. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/data/sample_forms_doc.yaml +0 -0
  15. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/deps.py +0 -0
  16. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/helpers.py +0 -0
  17. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/main.py +0 -0
  18. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/routes.py +0 -0
  19. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/settings.py +0 -0
  20. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/js/beanhub-web-react-0.1.6.js +0 -0
  21. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/js/beanhub-web-react-0.1.6.js.map +0 -0
  22. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/LICENSE +0 -0
  23. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/css/bootstrap-datepicker.css +0 -0
  24. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/css/bootstrap-datepicker.css.map +0 -0
  25. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/css/bootstrap-datepicker.min.css +0 -0
  26. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/js/bootstrap-datepicker.js +0 -0
  27. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/js/bootstrap-datepicker.min.js +0 -0
  28. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker-en-CA.min.js +0 -0
  29. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.ar-DZ.min.js +0 -0
  30. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.ar-tn.min.js +0 -0
  31. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.ar.min.js +0 -0
  32. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.az.min.js +0 -0
  33. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.bg.min.js +0 -0
  34. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.bm.min.js +0 -0
  35. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.bn.min.js +0 -0
  36. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.br.min.js +0 -0
  37. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.bs.min.js +0 -0
  38. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.ca.min.js +0 -0
  39. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.cs.min.js +0 -0
  40. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.cy.min.js +0 -0
  41. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.da.min.js +0 -0
  42. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.de.min.js +0 -0
  43. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.el.min.js +0 -0
  44. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.en-AU.min.js +0 -0
  45. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.en-CA.min.js +0 -0
  46. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.en-GB.min.js +0 -0
  47. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.en-IE.min.js +0 -0
  48. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.en-NZ.min.js +0 -0
  49. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.en-US.min.js +0 -0
  50. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.en-ZA.min.js +0 -0
  51. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.eo.min.js +0 -0
  52. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.es.min.js +0 -0
  53. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.et.min.js +0 -0
  54. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.eu.min.js +0 -0
  55. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.fa.min.js +0 -0
  56. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.fi.min.js +0 -0
  57. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.fo.min.js +0 -0
  58. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.fr-CH.min.js +0 -0
  59. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.fr.min.js +0 -0
  60. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.gl.min.js +0 -0
  61. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.he.min.js +0 -0
  62. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.hi.min.js +0 -0
  63. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.hr.min.js +0 -0
  64. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.hu.min.js +0 -0
  65. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.hy.min.js +0 -0
  66. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.id.min.js +0 -0
  67. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.is.min.js +0 -0
  68. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.it-CH.min.js +0 -0
  69. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.it.min.js +0 -0
  70. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.ja.min.js +0 -0
  71. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.ka.min.js +0 -0
  72. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.kh.min.js +0 -0
  73. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.kk.min.js +0 -0
  74. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.km.min.js +0 -0
  75. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.ko.min.js +0 -0
  76. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.kr.min.js +0 -0
  77. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.lt.min.js +0 -0
  78. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.lv.min.js +0 -0
  79. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.me.min.js +0 -0
  80. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.mk.min.js +0 -0
  81. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.mn.min.js +0 -0
  82. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.mr.min.js +0 -0
  83. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.ms.min.js +0 -0
  84. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.nl-BE.min.js +0 -0
  85. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.nl.min.js +0 -0
  86. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.no.min.js +0 -0
  87. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.oc.min.js +0 -0
  88. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.pl.min.js +0 -0
  89. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.pt-BR.min.js +0 -0
  90. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.pt.min.js +0 -0
  91. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.ro.min.js +0 -0
  92. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.rs-latin.min.js +0 -0
  93. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.rs.min.js +0 -0
  94. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.ru.min.js +0 -0
  95. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.si.min.js +0 -0
  96. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.sk.min.js +0 -0
  97. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.sl.min.js +0 -0
  98. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.sq.min.js +0 -0
  99. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.sr-latin.min.js +0 -0
  100. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.sr.min.js +0 -0
  101. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.sv.min.js +0 -0
  102. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.sw.min.js +0 -0
  103. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.ta.min.js +0 -0
  104. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.tg.min.js +0 -0
  105. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.th.min.js +0 -0
  106. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.tk.min.js +0 -0
  107. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.tr.min.js +0 -0
  108. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.uk.min.js +0 -0
  109. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.uz-cyrl.min.js +0 -0
  110. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.uz-latn.min.js +0 -0
  111. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.vi.min.js +0 -0
  112. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.zh-CN.min.js +0 -0
  113. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.zh-TW.min.js +0 -0
  114. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/fontawesome6/LICENSE.txt +0 -0
  115. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/fontawesome6/css/all.min.css +0 -0
  116. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/fontawesome6/webfonts/fa-brands-400.ttf +0 -0
  117. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/fontawesome6/webfonts/fa-brands-400.woff2 +0 -0
  118. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/fontawesome6/webfonts/fa-regular-400.ttf +0 -0
  119. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/fontawesome6/webfonts/fa-regular-400.woff2 +0 -0
  120. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/fontawesome6/webfonts/fa-solid-900.ttf +0 -0
  121. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/fontawesome6/webfonts/fa-solid-900.woff2 +0 -0
  122. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/fontawesome6/webfonts/fa-v4compatibility.ttf +0 -0
  123. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/fontawesome6/webfonts/fa-v4compatibility.woff2 +0 -0
  124. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/LICENSE.md +0 -0
  125. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/css/select2.css +0 -0
  126. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/css/select2.min.css +0 -0
  127. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/af.js +0 -0
  128. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/ar.js +0 -0
  129. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/az.js +0 -0
  130. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/bg.js +0 -0
  131. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/bn.js +0 -0
  132. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/bs.js +0 -0
  133. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/ca.js +0 -0
  134. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/cs.js +0 -0
  135. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/da.js +0 -0
  136. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/de.js +0 -0
  137. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/dsb.js +0 -0
  138. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/el.js +0 -0
  139. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/en.js +0 -0
  140. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/eo.js +0 -0
  141. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/es.js +0 -0
  142. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/et.js +0 -0
  143. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/eu.js +0 -0
  144. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/fa.js +0 -0
  145. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/fi.js +0 -0
  146. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/fr.js +0 -0
  147. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/gl.js +0 -0
  148. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/he.js +0 -0
  149. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/hi.js +0 -0
  150. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/hr.js +0 -0
  151. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/hsb.js +0 -0
  152. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/hu.js +0 -0
  153. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/hy.js +0 -0
  154. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/id.js +0 -0
  155. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/is.js +0 -0
  156. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/it.js +0 -0
  157. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/ja.js +0 -0
  158. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/ka.js +0 -0
  159. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/km.js +0 -0
  160. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/ko.js +0 -0
  161. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/lt.js +0 -0
  162. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/lv.js +0 -0
  163. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/mk.js +0 -0
  164. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/ms.js +0 -0
  165. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/nb.js +0 -0
  166. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/ne.js +0 -0
  167. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/nl.js +0 -0
  168. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/pa.js +0 -0
  169. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/pl.js +0 -0
  170. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/ps.js +0 -0
  171. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/pt-BR.js +0 -0
  172. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/pt.js +0 -0
  173. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/ro.js +0 -0
  174. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/ru.js +0 -0
  175. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/sk.js +0 -0
  176. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/sl.js +0 -0
  177. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/sq.js +0 -0
  178. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/sr-Cyrl.js +0 -0
  179. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/sr.js +0 -0
  180. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/sv.js +0 -0
  181. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/te.js +0 -0
  182. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/th.js +0 -0
  183. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/tk.js +0 -0
  184. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/tr.js +0 -0
  185. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/uk.js +0 -0
  186. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/vi.js +0 -0
  187. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/zh-CN.js +0 -0
  188. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/zh-TW.js +0 -0
  189. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/select2.full.js +0 -0
  190. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/select2.full.min.js +0 -0
  191. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/select2.js +0 -0
  192. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/static/vendor/select2/js/select2.min.js +0 -0
  193. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/templates/errors.html +0 -0
  194. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/templates/flash_messages.html +0 -0
  195. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/templates/footer.html +0 -0
  196. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/templates/form.html +0 -0
  197. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/templates/home.html +0 -0
  198. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/app/templates/layout.html +0 -0
  199. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/cli.py +0 -0
  200. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/main.py +0 -0
  201. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/forms/validator.py +0 -0
  202. {beanhub_cli-1.2.1 → beanhub_cli-1.2.3}/beanhub_cli/main.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: beanhub-cli
3
- Version: 1.2.1
3
+ Version: 1.2.3
4
4
  Summary: Command line tools for BeanHub
5
5
  License: MIT
6
6
  Author: Fang-Pen Lin
@@ -15,7 +15,7 @@ Requires-Dist: beancount-black (>=1.0.1,<2.0.0)
15
15
  Requires-Dist: beancount-parser (>=1.2.3,<1.3.0)
16
16
  Requires-Dist: beanhub-extract (>=0.1.0,<1.0.0)
17
17
  Requires-Dist: beanhub-forms (>=0.1.3,<0.2.0)
18
- Requires-Dist: beanhub-import (>=0.3.0,<1.0.0)
18
+ Requires-Dist: beanhub-import (>=0.3.4,<1.0.0)
19
19
  Requires-Dist: click (>=8.1.7,<9.0.0)
20
20
  Requires-Dist: fastapi (>=0.98.0,<1.0.0)
21
21
  Requires-Dist: jinja2 (>=3.1.2,<4.0.0)
@@ -105,8 +105,12 @@ You can run [beancount-black](https://github.com/LaunchPlatform/beancount-black)
105
105
  bh format main.bean
106
106
  ```
107
107
 
108
- Currently, the formatter works mostly the same as beancount-black, except it doesn't create a backup file by default.
109
- We are working on adding new features, such as making it possible to follow Beancount include statements to format all Beancount files.
108
+ Without the file arguments, the format command will try to format `main.bean` in the current folder, and it will recursively follow all the `include` statements to format all the bean files.
109
+ Like this:
110
+
111
+ ```bash
112
+ bh format
113
+ ```
110
114
 
111
115
  ### More features to come
112
116
 
@@ -76,8 +76,12 @@ You can run [beancount-black](https://github.com/LaunchPlatform/beancount-black)
76
76
  bh format main.bean
77
77
  ```
78
78
 
79
- Currently, the formatter works mostly the same as beancount-black, except it doesn't create a backup file by default.
80
- We are working on adding new features, such as making it possible to follow Beancount include statements to format all Beancount files.
79
+ Without the file arguments, the format command will try to format `main.bean` in the current folder, and it will recursively follow all the `include` statements to format all the bean files.
80
+ Like this:
81
+
82
+ ```bash
83
+ bh format
84
+ ```
81
85
 
82
86
  ### More features to come
83
87
 
@@ -7,6 +7,9 @@ import typing
7
7
  import click
8
8
  from beancount_black.formatter import Formatter
9
9
  from beancount_parser.parser import make_parser
10
+ from beancount_parser.parser import traverse
11
+ from lark import Lark
12
+ from lark import Tree
10
13
 
11
14
  from .cli import cli
12
15
  from .environment import Environment
@@ -32,6 +35,16 @@ def create_backup(src: pathlib.Path, suffix: str) -> pathlib.Path:
32
35
  return backup_path
33
36
 
34
37
 
38
+ def file_tree_iterator(
39
+ parser: Lark, filenames: list[pathlib.Path]
40
+ ) -> typing.Generator[tuple[pathlib.Path, Tree], None, None]:
41
+ for filename in filenames:
42
+ with open(filename, "rt") as input_file:
43
+ input_content = input_file.read()
44
+ tree = parser.parse(input_content)
45
+ yield filename, tree
46
+
47
+
35
48
  @cli.command(name="format", help="Format Beancount files with beancount-black")
36
49
  @click.argument("filename", type=click.Path(exists=False, dir_okay=False), nargs=-1)
37
50
  @click.option(
@@ -53,33 +66,43 @@ def main(
53
66
  backup: bool,
54
67
  ):
55
68
  # TODO: support follow include statements
56
-
57
69
  parser = make_parser()
58
- formatter = Formatter()
59
70
  if stdin_mode:
60
71
  env.logger.info("Processing in stdin mode")
61
72
  input_content = sys.stdin.read()
62
73
  tree = parser.parse(input_content)
74
+ formatter = Formatter()
63
75
  formatter.format(tree, sys.stdout)
64
76
  else:
65
- for name in filename:
66
- env.logger.info("Processing file %s", name)
67
- with open(name, "rt") as input_file:
68
- input_content = input_file.read()
69
- tree = parser.parse(input_content)
77
+ if filename:
78
+ iterator = file_tree_iterator(
79
+ parser=parser,
80
+ filenames=map(lambda item: pathlib.Path(str(item)), filename),
81
+ )
82
+ else:
83
+ env.logger.info("No files provided, traverse starting from main.bean")
84
+ iterator = traverse(
85
+ parser=parser,
86
+ bean_file=pathlib.Path("main.bean"),
87
+ root_dir=pathlib.Path.cwd(),
88
+ )
89
+ for filepath, tree in iterator:
90
+ env.logger.info("Processing file %s", filepath)
70
91
  with tempfile.NamedTemporaryFile(mode="wt+", suffix=".bean") as output_file:
92
+ formatter = Formatter()
71
93
  formatter.format(tree, output_file)
72
94
  output_file.seek(0)
73
95
  output_content = output_file.read()
96
+ input_content = filepath.read_text()
74
97
  if input_content == output_content:
75
- env.logger.info("File %s is not changed, skip", name)
98
+ env.logger.info("File %s is not changed, skip", filepath)
76
99
  continue
77
100
  if backup:
78
- backup_path = create_backup(
79
- src=pathlib.Path(str(name)), suffix=backup_suffix
101
+ backup_path = create_backup(src=filepath, suffix=backup_suffix)
102
+ env.logger.info(
103
+ "File %s changed, backup to %s", filepath, backup_path
80
104
  )
81
- env.logger.info("File %s changed, backup to %s", name, backup_path)
82
105
  output_file.seek(0)
83
- with open(name, "wt") as input_file:
106
+ with open(filepath, "wt") as input_file:
84
107
  shutil.copyfileobj(output_file, input_file)
85
108
  env.logger.info("done")
@@ -8,6 +8,7 @@ from beancount_black.formatter import Formatter
8
8
  from beancount_parser.parser import make_parser
9
9
  from beanhub_extract.data_types import Transaction
10
10
  from beanhub_extract.utils import strip_base_path
11
+ from beanhub_import.data_types import BeancountTransaction
11
12
  from beanhub_import.data_types import DeletedTransaction
12
13
  from beanhub_import.data_types import GeneratedTransaction
13
14
  from beanhub_import.data_types import ImportDoc
@@ -55,8 +56,15 @@ TABLE_COLUMN_STYLE = "cyan"
55
56
  default="main.bean",
56
57
  help="The path to main entry beancount file",
57
58
  )
59
+ @click.option(
60
+ "--remove-dangling",
61
+ is_flag=True,
62
+ help="Remove dangling transactions (existing imported transactions in Beancount files without corresponding generated transactions)",
63
+ )
58
64
  @pass_env
59
- def main(env: Environment, config: str, workdir: str, beanfile: str):
65
+ def main(
66
+ env: Environment, config: str, workdir: str, beanfile: str, remove_dangling: bool
67
+ ):
60
68
  config_path = pathlib.Path(config)
61
69
  with config_path.open("rt") as fo:
62
70
  doc_payload = yaml.safe_load(fo)
@@ -146,14 +154,18 @@ def main(env: Environment, config: str, workdir: str, beanfile: str):
146
154
  new_tree = parser.parse(bean_content)
147
155
  else:
148
156
  env.logger.info(
149
- "Applying change sets (add=%s, update=%s, remove=%s) to %s",
157
+ "Applying change sets (add=%s, update=%s, remove=%s, dangling=%s) with remove_dangling=%s to %s",
150
158
  len(change_set.add),
151
159
  len(change_set.update),
152
160
  len(change_set.remove),
161
+ len(change_set.dangling),
162
+ remove_dangling,
153
163
  target_file,
154
164
  )
155
165
  tree = parser.parse(target_file.read_text())
156
- new_tree = apply_change_set(tree=tree, change_set=change_set)
166
+ new_tree = apply_change_set(
167
+ tree=tree, change_set=change_set, remove_dangling=remove_dangling
168
+ )
157
169
 
158
170
  with target_file.open("wt") as fo:
159
171
  formatter = Formatter()
@@ -173,7 +185,24 @@ def main(env: Environment, config: str, workdir: str, beanfile: str):
173
185
  if txn.id not in deleted_txn_ids:
174
186
  continue
175
187
  table.add_row(
176
- escape(str(target_file)),
188
+ escape(str(target_file)) + f":{txn.lineno}",
189
+ str(txn.id),
190
+ )
191
+ rich.print(Padding(table, (1, 0, 0, 4)))
192
+
193
+ dangling_action = "Delete" if remove_dangling else "Ignored"
194
+ table = Table(
195
+ title=f"Dangling Transactions ({dangling_action})",
196
+ box=box.SIMPLE,
197
+ header_style=TABLE_HEADER_STYLE,
198
+ expand=True,
199
+ )
200
+ table.add_column("File", style=TABLE_COLUMN_STYLE)
201
+ table.add_column("Id", style=TABLE_COLUMN_STYLE)
202
+ for target_file, change_set in change_sets.items():
203
+ for txn in change_set.dangling:
204
+ table.add_row(
205
+ escape(str(target_file)) + f":{txn.lineno}",
177
206
  str(txn.id),
178
207
  )
179
208
  rich.print(Padding(table, (1, 0, 0, 4)))
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "beanhub-cli"
3
- version = "1.2.1"
3
+ version = "1.2.3"
4
4
  description = "Command line tools for BeanHub"
5
5
  authors = ["Fang-Pen Lin <fangpen@launchplatform.com>"]
6
6
  license = "MIT"
@@ -22,7 +22,7 @@ uvicorn = ">=0.23.2, <1.0.0"
22
22
  beanhub-forms = "^0.1.3"
23
23
  pydantic-settings = "^2.0.3"
24
24
  rich = "^13.6.0"
25
- beanhub-import = ">= 0.3.0, <1.0.0"
25
+ beanhub-import = ">= 0.3.4, <1.0.0"
26
26
  beanhub-extract = ">= 0.1.0, <1.0.0"
27
27
  beancount-parser = ">= 1.2.3, <1.3.0"
28
28
 
File without changes