Files
pnpm/pkg-manager/plugin-commands-installation/src/ci.ts
2024-04-09 16:23:44 +02:00

26 lines
774 B
TypeScript

import { docsUrl } from '@pnpm/cli-utils'
import { PnpmError } from '@pnpm/error'
import renderHelp from 'render-help'
export const rcOptionsTypes = (): Record<string, unknown> => ({})
export const cliOptionsTypes = (): Record<string, unknown> => ({})
export const shorthands: Record<string, string> = {}
export const commandNames = ['ci', 'clean-install', 'ic', 'install-clean']
export function help (): string {
return renderHelp({
aliases: ['clean-install', 'ic', 'install-clean'],
description: 'Clean install a project',
descriptionLists: [],
url: docsUrl('ci'),
usages: ['pnpm ci'],
})
}
export async function handler (opts: unknown): Promise<never> {
throw new PnpmError('CI_NOT_IMPLEMENTED', 'The ci command is not implemented yet')
}