Bootstrap CLI package entrypoint contract and minimal package scripts#439
Draft
Copilot wants to merge 3 commits into
Draft
Bootstrap CLI package entrypoint contract and minimal package scripts#439Copilot wants to merge 3 commits into
Copilot wants to merge 3 commits into
Conversation
Copilot
AI
changed the title
[WIP] Setup initial CLI package structure for sh1pt
Bootstrap CLI package entrypoint contract and minimal package scripts
May 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR aligns the CLI package bootstrap with the PRD’s MVP contract: an explicit ESM bin entrypoint, a callable CLI runtime entry, and a minimal
dev/testscript surface. It also establishes a lightweightsrc/libmodule boundary for upcoming command/lib growth.CLI bootstrap contract
packages/cli/bin/sh1pt.jsnow behaves as a real entrypoint stub:run(argv)Runtime entry extraction
packages/cli/src/index.tsnow exportsrun(argv)so bin execution and module execution share one path.Initial command/lib structure
packages/cli/src/lib/logger.tsand wired CLI error output through it, givingsrc/commands+src/liba clear baseline split.Minimal package scripts
packages/cli/package.jsonnow includes a package-leveltestscript while keeping existingdevbehavior intact.Original prompt
Implement the work described in GitHub issue #425 in
profullstack/sh1ptand open a pull request.Issue: Bootstrap CLI package structure for sh1pt
Requirements:
packages/clidirectory.package.jsonwith the correct ESM and bin setup.bin/sh1pt.jswith CLI entrypoint stub.src/structure for commands and lib modules.dev,test).Repository:
profullstack/sh1ptParent tracking issue: #422
Target issue: #425
Please implement the changes, create a branch, commit them, and open a PR with a clear summary referencing #425.
The following is the prior conversation context from the user's chat exploration (may be truncated):
User: Create me a sub-issue for @profullstack/sh1pt/issues/422 to
Assistant: What should the sub-issue cover?
If you want, I can draft it for you. A good next sub-issue for
profullstack/sh1pt#422would be something like:actions listandactions infocommandsactions auditworkflow scannervu1nz-scanmodern-websampleIf you want, reply with either:
profullstack/sh1pt#422.User: create a sub-issue for each outstanding thing left in the original ticket the prd.
Assistant: Drafted the sub-issues for
profullstack/sh1pt#422for your review.