Reproduction
A registered command must define at least one @Handler() method:
src/app.module.ts
import { Command, Module, createApp } from 'func'
@Command('build')
class BuildCommand {}
@Module({ commands: [BuildCommand] })
class AppModule {}
createApp(AppModule)What this error means
func found no Handler metadata on the selected Command. A Command that has Handlers but cannot select one for the current invocation uses F_SYSTEM_NO_MATCHING_HANDLER instead.
How to fix it
Add an instance method decorated with @Handler():
src/build.command.ts
class BuildCommand {
@Handler()
run() {}
}