Skip to content

Add Auth0 CLI management file for SDD#21

Merged
pylipp merged 4 commits into
masterfrom
copilot/fix-f5940e93-6a52-4a36-beee-be6ebe6595a7
Sep 24, 2025
Merged

Add Auth0 CLI management file for SDD#21
pylipp merged 4 commits into
masterfrom
copilot/fix-f5940e93-6a52-4a36-beee-be6ebe6595a7

Conversation

Copilot AI commented Sep 24, 2025

Copy link
Copy Markdown
Contributor

This PR adds support for managing the Auth0 CLI through the SDD framework, addressing issue requirements to create an SDD management file for the Auth0 CLI.

Changes Made

  • Added lib/sdd/apps/user/auth0: Complete management file implementing:

    • sdd_install() - Downloads and installs Auth0 CLI from GitHub releases
    • sdd_uninstall() - Clean removal of binary and completions
    • sdd_fetch_latest_version() - Retrieves latest version from GitHub API
  • Added test/apps/auth0.bats: Test suite covering installation, version verification, completion setup, and uninstall functionality

Implementation Details

The implementation follows the established SDD pattern similar to other CLI tools like xan and circleci:

  • Downloads the Linux x86_64 binary from https://github.com/auth0/auth0-cli/releases
  • Extracts and installs to $SDD_INSTALL_PREFIX/bin/auth0
  • Automatically installs bash completions using the CLI's built-in auth0 completion bash command
  • Provides clean uninstall that removes both binary and completion files

Manual Testing

The implementation has been manually verified to:

  • ✅ Successfully install Auth0 CLI v1.20.0
  • ✅ Generate and install bash completions correctly
  • ✅ Execute auth0 --version and other commands properly
  • ✅ Cleanly uninstall all components
  • ✅ Appear in sdd list -a available applications

Users can now manage their Auth0 CLI installation using standard SDD commands:

sdd install auth0
sdd uninstall auth0

Fixes #20


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: pylipp <10617122+pylipp@users.noreply.github.com>
Copilot AI changed the title [WIP] Create SDD management file for auth0 CLI Add Auth0 CLI management file for SDD Sep 24, 2025
Copilot AI requested a review from pylipp September 24, 2025 12:42
@pylipp pylipp marked this pull request as ready for review September 24, 2025 14:10
@pylipp pylipp merged commit 434a534 into master Sep 24, 2025
1 check failed
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.

Create SDD management file for auth0 CLI

2 participants