index.ts
 1  import type { Command } from '../../commands.js'
 2  import { isEnvTruthy } from '../../utils/envUtils.js'
 3  
 4  const installGitHubApp = {
 5    type: 'local-jsx',
 6    name: 'install-github-app',
 7    description: 'Set up Claude GitHub Actions for a repository',
 8    availability: ['claude-ai', 'console'],
 9    isEnabled: () => !isEnvTruthy(process.env.DISABLE_INSTALL_GITHUB_APP_COMMAND),
10    load: () => import('./install-github-app.js'),
11  } satisfies Command
12  
13  export default installGitHubApp