Reproduction
Decorator tokens describe the logical name, so they must not include CLI hyphens or whitespace:
src/build.command.ts
import { Command } from 'func'
@Command('-build')
class BuildCommand {}How to fix it
Pass the token without leading hyphens and use one non-whitespace segment:
src/build.command.ts
@Command('build')
class BuildCommand {}