source dump of claude code
1import type { Command } from '../../commands.js'
2import { isEnvTruthy } from '../../utils/envUtils.js'
3
4const 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
13export default installGitHubApp