Download src/commands/install-github-app/index.ts from chenbhao/codev: direct link, hf CLI and curl.
- Browser
- Download file 471 Bytes
-
https://huggingface.co/chenbhao/codev/resolve/afbc7edaae4e6bb0102ba024b49ce8be89d2264c/src/commands/install-github-app/index.ts
- Command line
-
hf download hf://chenbhao/codev@afbc7edaae4e6bb0102ba024b49ce8be89d2264c/src/commands/install-github-app/index.ts
-
curl -L -o index.ts https://huggingface.co/chenbhao/codev/resolve/afbc7edaae4e6bb0102ba024b49ce8be89d2264c/src/commands/install-github-app/index.ts
471 Bytes
| import type { Command } from '../../commands.js' | |
| import { isEnvTruthy } from '../../utils/envUtils.js' | |
| const installGitHubApp = { | |
| type: 'local-jsx', | |
| name: 'install-github-app', | |
| description: 'Set up Claude GitHub Actions for a repository', | |
| availability: ['claude-ai', 'console'], | |
| isEnabled: () => !isEnvTruthy(process.env.DISABLE_INSTALL_GITHUB_APP_COMMAND), | |
| load: () => import('./install-github-app.js'), | |
| } satisfies Command | |
| export default installGitHubApp | |