mirror of
https://github.com/pnpm/pnpm.git
synced 2026-03-29 04:21:39 -04:00
20 lines
465 B
TypeScript
20 lines
465 B
TypeScript
import omit from 'ramda/src/omit'
|
|
import * as list from './list'
|
|
|
|
export const commandNames = ['ll', 'la']
|
|
|
|
export const rcOptionsTypes = list.rcOptionsTypes
|
|
|
|
export function cliOptionsTypes (): Record<string, unknown> {
|
|
return omit(['long'], list.cliOptionsTypes())
|
|
}
|
|
|
|
export const help = list.help
|
|
|
|
export async function handler (
|
|
opts: list.ListCommandOptions,
|
|
params: string[]
|
|
): Promise<string> {
|
|
return list.handler({ ...opts, long: true }, params)
|
|
}
|