Skip to content

Moved generate_json_map to new module#226

Open
adedamola-sode wants to merge 15 commits into
mainfrom
separate-json-map
Open

Moved generate_json_map to new module#226
adedamola-sode wants to merge 15 commits into
mainfrom
separate-json-map

Conversation

@adedamola-sode
Copy link
Copy Markdown
Collaborator

Moved generate_json_map to new module called generate_jsonmap.

  1. generate-jsonmap can now be called on the command line
  2. It can also be called with an argument when using techui-builder "--generate-jsonmap or -j "

@codecov
Copy link
Copy Markdown

codecov Bot commented May 22, 2026

Codecov Report

❌ Patch coverage is 96.71362% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 96.11%. Comparing base (29ce6a7) to head (bc6db2a).

Files with missing lines Patch % Lines
src/techui_builder/generate_jsonmap.py 96.63% 7 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #226      +/-   ##
==========================================
+ Coverage   95.97%   96.11%   +0.13%     
==========================================
  Files          11       12       +1     
  Lines         895      927      +32     
==========================================
+ Hits          859      891      +32     
  Misses         36       36              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread src/techui_builder/generate_jsonmap.py
Comment thread src/techui_builder/generate_jsonmap.py Outdated
Comment thread tests/test_generate_jsonmap.py
Comment thread tests/test_generate_jsonmap.py
Comment thread src/techui_builder/generate_jsonmap.py
Comment thread src/techui_builder/__main__.py


app = typer.Typer()
app = typer.Typer(context_settings={"allow_interspersed_args": True})
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This actually breaks using options such as --help and --log-level for the sub-apps, so we will have to remove this from the main app and add it to the sub apps individually

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants