Files
jj-command-line/bashUtils/discover.ts
T
2024-11-13 01:17:25 -05:00

12 lines
293 B
TypeScript
Executable File

#!/usr/bin/env bun
import { getJJConfigByKeyChain } from "@helpers/jjConfigUtils"
const firstArg = process.argv[2]
if(firstArg == 'jj-environments-keys'){
const environments = getJJConfigByKeyChain('environments')
console.log(Object.keys(environments).join("\n"))
}
process.exit(0)