@fission-ai/openspec
Version:
AI-native system for spec-driven development
25 lines (23 loc) • 632 B
JavaScript
/**
* Static template strings for PowerShell completion scripts.
* These are PowerShell-specific helper functions that never change.
*/
export const POWERSHELL_DYNAMIC_HELPERS = `# Dynamic completion helpers
function Get-OpenSpecChanges {
$output = openspec __complete changes 2>$null
if ($output) {
$output | ForEach-Object {
($_ -split "\\t")[0]
}
}
}
function Get-OpenSpecSpecs {
$output = openspec __complete specs 2>$null
if ($output) {
$output | ForEach-Object {
($_ -split "\\t")[0]
}
}
}
`;
//# sourceMappingURL=powershell-templates.js.map