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

new experimental ea command flag #1027

Merged
merged 12 commits into from
Feb 6, 2025

Conversation

kushalshit27
Copy link
Contributor

@kushalshit27 kushalshit27 commented Feb 4, 2025

🔧 Changes

  • add flag(sub-command) name for the EA feature release on CLI
--experimental_ea

📝 Example:

a0deploy export -c=config.json --format=yaml --output_folder=local --experimental_ea
a0deploy import -c=config.json --input_file=local/tenant.yaml --experimental_ea

Or

⚙️ Configuration options:

"AUTH0_EXPERIMENTAL_EA": true

📌 Note:
In case both AUTH0_EXPERIMENTAL_EA and --experimental_ea are provided, cli will give priority to the value of --experimental_ea.

📚 References

🔬 Testing

  • Unit Test updated
  • E2E test pass

📝 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)

@codecov-commenter
Copy link

codecov-commenter commented Feb 4, 2025

Codecov Report

Attention: Patch coverage is 52.38095% with 10 lines in your changes missing coverage. Please review.

Project coverage is 80.11%. Comparing base (9766cb7) to head (e5c8f2a).

Files with missing lines Patch % Lines
src/commands/export.ts 0.00% 3 Missing ⚠️
src/commands/import.ts 0.00% 3 Missing ⚠️
src/context/index.ts 50.00% 2 Missing and 1 partial ⚠️
src/tools/auth0/handlers/prompts.ts 88.88% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1027      +/-   ##
==========================================
+ Coverage   80.08%   80.11%   +0.02%     
==========================================
  Files         125      125              
  Lines        4570     4586      +16     
  Branches      888      896       +8     
==========================================
+ Hits         3660     3674      +14     
- Misses        540      541       +1     
- Partials      370      371       +1     

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

@kushalshit27 kushalshit27 marked this pull request as ready for review February 4, 2025 09:01
@kushalshit27 kushalshit27 requested a review from a team as a code owner February 4, 2025 09:01
docs/using-as-cli.md Outdated Show resolved Hide resolved
@kushalshit27 kushalshit27 merged commit 11e068b into master Feb 6, 2025
8 checks passed
@kushalshit27 kushalshit27 deleted the DXCDT-867-add-experimental-ea-command-flag branch February 6, 2025 06:26
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