Skip to content

Support ACUL scaffolding app command#1325

Merged
ramya18101 merged 21 commits intoDXCDT-1165-support-acul-commandfrom
DXCDT-1178-support-acul-scaffolding-app
Nov 7, 2025
Merged

Support ACUL scaffolding app command#1325
ramya18101 merged 21 commits intoDXCDT-1165-support-acul-commandfrom
DXCDT-1178-support-acul-scaffolding-app

Conversation

@ramya18101
Copy link
Contributor

@ramya18101 ramya18101 commented Sep 5, 2025

  • Introduces new scaffolding commands for the Auth0 Command-Line Utility Library (ACUL) in the auth0-cli project.
  • Enables automated generation of boilerplate code for ACUL applications by simplifying the initial setup process.
  • well-documented options for advanced configuration and project scaffolding.

🔧 Changes

  auth0 acul init <app_name>
  auth0 acul init acul-sample-app
  auth0 acul init acul-sample-app --template react --screens login,signup
  auth0 acul init acul-sample-app -t react -s login,mfa,signup

📚 References

https://github.com/auth0-samples/auth0-acul-samples

🔬 Testing

📝 Checklist

  • All new/changed/fixed functionality is covered by tests (or N/A)
  • I have added documentation for all new/changed functionality (or N/A)

@ramya18101 ramya18101 changed the title Add scaffolding commands(POC) and documentation for acul app initialisation Add ACUL scaffolding commands Sep 6, 2025
@ramya18101 ramya18101 changed the title Add ACUL scaffolding commands [DONOT MERGE] Add ACUL scaffolding commands Sep 23, 2025
@ramya18101 ramya18101 marked this pull request as ready for review September 23, 2025 02:56
@ramya18101 ramya18101 requested a review from a team as a code owner September 23, 2025 02:56
@ramya18101 ramya18101 changed the title [DONOT MERGE] Add ACUL scaffolding commands [DON"T MERGE] Add ACUL scaffolding commands Sep 25, 2025
@ramya18101 ramya18101 changed the title [DON"T MERGE] Add ACUL scaffolding commands [DON'T MERGE] Add ACUL scaffolding commands Sep 25, 2025
@ramya18101 ramya18101 changed the title [DON'T MERGE] Add ACUL scaffolding commands [DON'T MERGE] Support ACUL scaffolding app command Oct 23, 2025
@kushalshit27
Copy link
Contributor

@claude

@github-actions
Copy link

github-actions bot commented Nov 6, 2025

Claude finished @kushalshit27's task —— View job


Code Review Complete

  • Gather PR context and diff
  • Review code quality
  • Review security concerns
  • Review performance implications
  • Provide overall assessment

Overall Assessment

❌ This pull request requires significant fixes before it can be merged. Critical issues include: missing error handling (undefined handleInputError function causing compilation errors), improper resource cleanup ordering, hardcoded TODOs that bypass the actual release tag logic, use of log.Fatalf that prevents proper cleanup, missing HTTP timeouts and headers for GitHub API calls, and inconsistent error handling patterns throughout.


Job Run | Branch

@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 4.34783% with 484 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (DXCDT-1165-support-acul-command@0a1a5e0). Learn more about missing BASE report.

Files with missing lines Patch % Lines
internal/cli/acul_app_scaffolding.go 4.15% 483 Missing and 1 partial ⚠️
Additional details and impacted files
@@                        Coverage Diff                         @@
##             DXCDT-1165-support-acul-command    #1325   +/-   ##
==================================================================
  Coverage                                   ?   62.06%           
==================================================================
  Files                                      ?      113           
  Lines                                      ?    18987           
  Branches                                   ?        0           
==================================================================
  Hits                                       ?    11784           
  Misses                                     ?     6430           
  Partials                                   ?      773           

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ramya18101 ramya18101 merged commit dd79347 into DXCDT-1165-support-acul-command Nov 7, 2025
7 checks passed
@ramya18101 ramya18101 deleted the DXCDT-1178-support-acul-scaffolding-app branch November 7, 2025 06:37
@ramya18101 ramya18101 changed the title [DON'T MERGE] Support ACUL scaffolding app command Support ACUL scaffolding app command Nov 7, 2025
ramya18101 added a commit that referenced this pull request Dec 9, 2025
* initial commit

* add logic to read .js and .css from all the folders in assets for a given screen

* fix logic by adding a sleep timer to settle the files and update command

* Update head_tags content for .js extended files

* Update logic to support watching screens 1 or all or specific

* Update logic to support watching screens

* final code to support watching screens

* Update docs and examples

* Add docs for watch and patch assets

* Separate acul config commands from ul and update docs

* Update acul list command

* Update acul list command doc command

* Add scaffolding commands(POC) and documentation for acul app initialization

* Enhance acul command with screen name validation and optional query parameters

* update docs and fix lints

* add acul_config generation for acul app init

* Initial commit

* update docs and fix lint

* Add support for add-screen command

* refactor acul config commands

* Fix lint

* refactor scaffolding app code

* refactor scaffolding app code

* refactor screen scaffolding

* Update go-auth0 version and docs

* refactor: rename and restructure acul scaffolding.

* Update docs

* Update docs

* add paginated select input and enhance screen name prompts

* Add default config file path handling and improve user prompts

* Refactor acul config commands for improved user prompts and default file path handling

* Update go-auth0's version and enhance acul config command

* enhance acul config command with doc updates

* Update branch

* enhance ACUL project scaffolding with Node checks and improved template selection

* refactor screen loader generation to improve error handling

* fix lint

* refactor ACUL scaffolding app commands and docs

* enhance ACUL scaffolding with user guidance and next steps

* enhance ACUL scaffolding with improved user feedback

* refactor ACUL scaffolding

* refactor ACUL scaffolding

* refactor ACUL scaffolding to filter out regenerated screenLoader.ts file

* refactor ACUL scaffolding to consolidate post-scaffolding output

* enhance ACUL scaffolding with template and screens flags for project initialization

* Initial commit

* Add 'dev' command for connected mode with asset watching

* Add 'connected' flag to dev command for advanced rendering updates

* Refactor acul dev command and improve documentation for dev and connected modes

* enhance ACUL scaffolding to dynamically fetch the latest release tag

* use 'acul-sample-app' as default project name

* enhance ACUL scaffolding to support version compatibility checks and update timestamps

* refactor: streamline screen selection and validation logic in ACUL scaffolding

* update ACUL dev mode documentation and improve screen detection logic

* refactor: implement bulk update for screen rendering settings in ACUL

* enhance screen selection and validation logic in ACUL dev mode

* enhance connected mode feedback and streamline output messages in ACUL

* Deprecate advcance customization on ul commands (#1370)

* deprecate advanced customizations and update doc

* deprecate advanced mode

* enhance deprecation warnings for advanced rendering mode

* fix lint

* enhance asset patching and restore original settings on shutdown in ACUL

* enhance ACUL scaffolding with improved error handling and npm install functionality

* Enhance ACUL command with prerequisite checks and improve user prompts

* improve ACUL scaffolding with handling,prerequisite checks and screen validation

* [DON'T MERGE] Support ACUL scaffolding app command (#1325)

* Add scaffolding commands(POC) and documentation for acul app initialization

* update docs and fix lints

* add acul_config generation for acul app init

* refactor scaffolding app code

* refactor scaffolding app code

* Update branch

* enhance ACUL project scaffolding with Node checks and improved template selection

* refactor screen loader generation to improve error handling

* fix lint

* refactor ACUL scaffolding app commands and docs

* enhance ACUL scaffolding with template and screens flags for project initialization

* enhance ACUL scaffolding to dynamically fetch the latest release tag

* use 'acul-sample-app' as default project name

* enhance ACUL scaffolding with improved error handling and npm install functionality

* improve ACUL scaffolding with handling,prerequisite checks and screen validation

* enhance ACUL command with prerequisite checks and connected mode validation

* refactor screen validation and selection logic

* enhance shutdown messages and add restoration prompt

* refactor patch logic and restoration prompts

* enhance screen selection logic with multi-select support and improved validation

* [DON'T MERGE] Support acul scaffolding screen (#1339)

* Add scaffolding commands(POC) and documentation for acul app initialization

* update docs and fix lints

* add acul_config generation for acul app init

* Initial commit

* Add support for add-screen command

* refactor scaffolding app code

* refactor scaffolding app code

* refactor screen scaffolding

* Update go-auth0 version and docs

* refactor: rename and restructure acul scaffolding.

* Update docs

* Update docs

* Update branch

* enhance ACUL project scaffolding with Node checks and improved template selection

* refactor screen loader generation to improve error handling

* fix lint

* refactor ACUL scaffolding app commands and docs

* enhance ACUL scaffolding with user guidance and next steps

* enhance ACUL scaffolding with improved user feedback

* refactor ACUL scaffolding

* refactor ACUL scaffolding

* refactor ACUL scaffolding to filter out regenerated screenLoader.ts file

* refactor ACUL scaffolding to consolidate post-scaffolding output

* enhance ACUL scaffolding with template and screens flags for project initialization

* enhance ACUL scaffolding to dynamically fetch the latest release tag

* use 'acul-sample-app' as default project name

* enhance ACUL scaffolding to support version compatibility checks and update timestamps

* enhance ACUL scaffolding with improved error handling and npm install functionality

* improve ACUL scaffolding with handling,prerequisite checks and screen validation

* update BulkUpdateRendering method signature

* Enhance ACUL Dev Mode with browser integration

* Add support for extra files in ACUL scaffolding and update repo URLs

* Fix lint

* Refactor ACUL scaffolding and error messages

* Support acul dev command (#1374)

* initial commit

* add logic to read .js and .css from all the folders in assets for a given screen

* fix logic by adding a sleep timer to settle the files and update command

* Update head_tags content for .js extended files

* Update logic to support watching screens 1 or all or specific

* Update logic to support watching screens

* final code to support watching screens

* Update docs and examples

* Add docs for watch and patch assets

* Add scaffolding commands(POC) and documentation for acul app initialization

* update docs and fix lints

* add acul_config generation for acul app init

* Initial commit

* Add support for add-screen command

* refactor scaffolding app code

* refactor scaffolding app code

* refactor screen scaffolding

* Update go-auth0 version and docs

* refactor: rename and restructure acul scaffolding.

* Update docs

* Update docs

* Update branch

* enhance ACUL project scaffolding with Node checks and improved template selection

* refactor screen loader generation to improve error handling

* fix lint

* refactor ACUL scaffolding app commands and docs

* enhance ACUL scaffolding with user guidance and next steps

* enhance ACUL scaffolding with improved user feedback

* refactor ACUL scaffolding

* refactor ACUL scaffolding

* refactor ACUL scaffolding to filter out regenerated screenLoader.ts file

* refactor ACUL scaffolding to consolidate post-scaffolding output

* enhance ACUL scaffolding with template and screens flags for project initialization

* Initial commit

* Add 'dev' command for connected mode with asset watching

* Add 'connected' flag to dev command for advanced rendering updates

* Refactor acul dev command and improve documentation for dev and connected modes

* enhance ACUL scaffolding to dynamically fetch the latest release tag

* use 'acul-sample-app' as default project name

* enhance ACUL scaffolding to support version compatibility checks and update timestamps

* refactor: streamline screen selection and validation logic in ACUL scaffolding

* update ACUL dev mode documentation and improve screen detection logic

* refactor: implement bulk update for screen rendering settings in ACUL

* enhance screen selection and validation logic in ACUL dev mode

* enhance connected mode feedback and streamline output messages in ACUL

* enhance asset patching and restore original settings on shutdown in ACUL

* enhance ACUL scaffolding with improved error handling and npm install functionality

* improve ACUL scaffolding with handling,prerequisite checks and screen validation

* enhance ACUL command with prerequisite checks and connected mode validation

* refactor screen validation and selection logic

* enhance shutdown messages and add restoration prompt

* refactor patch logic and restoration prompts

* enhance screen selection logic with multi-select support and improved validation

* update BulkUpdateRendering method signature

* Enhance ACUL Dev Mode with browser integration

* Add support for extra files in ACUL scaffolding and update repo URLs

* Fix lint

* Refactor ACUL scaffolding and error messages

* update deprecation date for advanced mode

* update flag name from --screen to --screens for consistency

* Update docs

* use port example as 55444 and add port availability check
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