Skip to content

feat: add guided setup command#753

Draft
ffantl-ld wants to merge 1 commit into
ffantl/setup-ld/4-verifierfrom
ffantl/setup-ld/6-command
Draft

feat: add guided setup command#753
ffantl-ld wants to merge 1 commit into
ffantl/setup-ld/4-verifierfrom
ffantl/setup-ld/6-command

Conversation

@ffantl-ld

Copy link
Copy Markdown
Contributor

Describe the solution you've provided

Final layer: the user-facing setup command. Adds the cmd/setup package (detect, install, init subcommands and the interactive wizard) over the internal/setup library, wires it into the root command, and deprecates quickstart in favor of setup.

The ldcli setup wizard walks a user through detecting their project, installing the SDK, creating a first flag, injecting init code, and verifying an evaluation.

Related issues

Top of the setup-ld feature stack. Stacked PR — base is ffantl/setup-ld/4-verifier.

Note: this branch's cmd/root.go also carries the PersistentPreRun change from #748; that diff drops out once #748 merges to main and this stack is rebased.

Requirements

  • I have added test coverage for new or changed functionality

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.

1 participant