@capgo/cli
Version:
A CLI to upload to capgo servers
30 lines (29 loc) • 1.26 kB
TypeScript
import type { CiSecretTarget } from './ci-secrets.js';
import type { BuildScriptChoice, PackageManager } from './workflow-generator.js';
export interface TailProgress {
/**
* The 3-way GitHub Actions setup choice made at `ask-github-actions-setup`.
* Mirrors `const [setupMode] = useState<…>('undecided')` in both app.tsx.
*/
setupMode?: 'undecided' | 'with-workflow' | 'secrets-only' | 'declined';
/**
* The CI-secrets destination picked at `ci-secrets-target-select`.
* Mirrors `const [ciSecretTarget] = useState<CiSecretTarget | null>(null)`.
*/
ciSecretTarget?: CiSecretTarget | null;
/**
* The package manager chosen at `pick-package-manager`.
* Mirrors `const [selectedPackageManager] = useState<PackageManager | null>(null)`.
*/
selectedPackageManager?: PackageManager | null;
/**
* The build-script choice made at `pick-build-script`.
* Mirrors `const [buildScriptChoice] = useState<BuildScriptChoice | null>(null)`.
*/
buildScriptChoice?: BuildScriptChoice | null;
/**
* The user-supplied `.env` export path entered at `ask-export-env`.
* Mirrors `const [envExportTargetPath] = useState<string>('')`.
*/
envExportTargetPath?: string;
}