diff --git a/packages/cli/package.json b/packages/cli/package.json index 87ea6292..807f9b4b 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -35,6 +35,7 @@ "scripts": { "build": "tsc -p tsconfig.json", "dev": "tsx src/index.ts", + "test": "vitest run", "typecheck": "tsc -p tsconfig.json --noEmit", "prepublishOnly": "pnpm build" }, diff --git a/packages/cli/src/lib/index.ts b/packages/cli/src/lib/index.ts new file mode 100644 index 00000000..cffd2c5a --- /dev/null +++ b/packages/cli/src/lib/index.ts @@ -0,0 +1,9 @@ +/** + * Shared library utilities for the sh1pt CLI. + * + * This module re-exports helpers used across multiple CLI commands so that + * individual command modules can import from a single stable path. + */ + +export { apiBaseUrl, readCredentials, writeCredentials, clearCredentials } from '../credentials.js'; +export { resolveInput, describeInput } from '../input.js';