Reproduction
A handler must use exactly one selection mode:
src/project.command.ts
import { Handler } from 'func'
class ProjectCommand {
@Handler({ flag: 'list', path: ['project', 'list'] })
list() {}
}How to fix it
Keep either flag or path:
src/project.command.ts
class ProjectCommand {
@Handler({ path: ['project', 'list'] })
list() {}
}