(value: 'development')
| 42 | * Checks the current environment based on the HEYAPI_CODEGEN_ENV environment variable. |
| 43 | */ |
| 44 | export function isEnvironment(value: 'development'): boolean { |
| 45 | return process.env.HEYAPI_CODEGEN_ENV === value; |
| 46 | } |
| 47 | |
| 48 | // TODO: show ascii logo only in `--help` and `--version` commands |
| 49 | export function printCliIntro(initialDir: string, showLogo: boolean = false): void { |
no outgoing calls
no test coverage detected