Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: advanced algokit generate command #306

Merged
merged 17 commits into from
Aug 14, 2023
Merged

Conversation

aorumbayev
Copy link
Collaborator

@aorumbayev aorumbayev commented Jul 26, 2023

Proposed changes

  • Adding logic to dynamically load new commands into click based on algokit.toml file. This is achieved by overloading Group class on click.
  • New commands are referred to custom generators that can optionally exist on projects created by algokit tempaltes

Further notes

Do not merge until 1.3.0 is released first

@github-actions
Copy link

github-actions bot commented Jul 26, 2023

Coverage

Coverage Report
FileStmtsMissCoverMissing
src/algokit
   __init__.py15753%6–13, 17–24, 32–34
   __main__.py220%1–3
src/algokit/cli
   completions.py105298%80, 95
   deploy.py56591%34–36, 78, 96
   doctor.py48394%142–144
   generate.py57198%116
   goal.py30197%42
   init.py1901692%268–269, 319, 322–324, 335, 379, 405, 445, 454–456, 459–464, 477
   localnet.py91397%157, 178–179
src/algokit/core
   bootstrap.py1612485%103–104, 126, 149, 214, 217, 223–237, 246–251
   conf.py54885%10, 24, 28, 36, 38, 71–73
   deploy.py691184%61–64, 73–75, 79, 84, 91–93
   doctor.py65789%67–69, 92–94, 134
   generate.py41295%68, 86
   log_handlers.py68790%50–51, 63, 112–116, 125
   proc.py45198%98
   sandbox.py1501590%100–107, 118, 226, 242, 257–259, 275
   typed_client_generation.py80594%55–57, 70, 75
   version_prompt.py73889%27–28, 40, 59–62, 80, 109
TOTAL156412892% 

Tests Skipped Failures Errors Time
240 0 💤 0 ❌ 0 🔥 18.843s ⏱️

docs/features/generate.md Outdated Show resolved Hide resolved
@aorumbayev aorumbayev merged commit 0381862 into main Aug 14, 2023
3 checks passed
@aorumbayev aorumbayev deleted the advanced-generate-command branch August 14, 2023 11:39
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.

4 participants