-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Annotations not found for CommandApp #95
Comments
I have the same problem and found the following workaround for now. My App implements the base class
It will now take all the annotations into account that you have on the |
I was really excited to replace |
Just figured out that you can do this like shown below object SequencerApp extends CommandApp[SequencerAppCommand] {
override def appName: String = getClass.getSimpleName.dropRight(1) // remove $ from class name
override def appVersion: String = BuildInfo.version
override def progName: String = BuildInfo.name
def run(command: SequencerAppCommand, args: RemainingArgs): Unit =
command match {
case SequenceComponent(name) => new SequenceComponentWiring(name).start()
case Sequencer(id, mode) => new SequencerWiring(id, mode).start()
}
}
|
It seems that caseapp can't find annotations on commands.
When running the following command in sbt:
I expect to see:
Actual result:
The text was updated successfully, but these errors were encountered: