12 lines
293 B
TypeScript
Executable File
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) |