Skip to content

fix(cli): expose init command at root#242

Open
codexwizardd wants to merge 2 commits into
profullstack:masterfrom
codexwizardd:codexwizardd/top-level-init-command
Open

fix(cli): expose init command at root#242
codexwizardd wants to merge 2 commits into
profullstack:masterfrom
codexwizardd:codexwizardd/top-level-init-command

Conversation

@codexwizardd
Copy link
Copy Markdown

Summary

  • extract the existing ship init command into a factory so it can be mounted in more than one place
  • keep sh1pt ship init behavior unchanged
  • expose documented root-level sh1pt init for scaffolding sh1pt.config.ts

Verification

  • npm run typecheck (packages/cli)
  • npm run build (packages/cli)

Runtime help check note: node dist/index.js --help and node dist/index.js init --help still fail before command parsing with the existing workspace resolution error: Cannot find module '/workspace/sh1pt/packages/core/src/target.js' imported from /workspace/sh1pt/packages/core/src/index.ts.

Closes #241

Related to the accepted Ugig sh1pt CLI command gig.

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.

Expose documented top-level sh1pt init command

2 participants