Skip to content

feat(cli): bootstrap CLI package structure — test script + src/lib module#432

Draft
Copilot wants to merge 2 commits into
masterfrom
copilot/bootstrap-cli-structure
Draft

feat(cli): bootstrap CLI package structure — test script + src/lib module#432
Copilot wants to merge 2 commits into
masterfrom
copilot/bootstrap-cli-structure

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 25, 2026

packages/cli was missing two structural elements called for in the bootstrap spec: a test script and a src/lib/ module directory.

Changes

  • packages/cli/package.json — adds "test": "vitest run" alongside the existing dev script, completing the minimal scripts requirement
  • packages/cli/src/lib/index.ts — creates the src/lib/ counterpart to src/commands/, exporting shared CLI utilities (apiBaseUrl, readCredentials, writeCredentials, clearCredentials, resolveInput, describeInput) from a single stable import path
// src/lib/index.ts
export { apiBaseUrl, readCredentials, writeCredentials, clearCredentials } from '../credentials.js';
export { resolveInput, describeInput } from '../input.js';

Copilot AI linked an issue May 25, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Setup initial CLI package structure for sh1pt feat(cli): bootstrap CLI package structure — test script + src/lib module May 25, 2026
Copilot AI requested a review from ralyodio May 25, 2026 19:16
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.

Bootstrap CLI package structure for sh1pt

2 participants