每当我尝试使用Micronaut和Kotlin创建命令行应用程序时,使用: mn create-cli-app cli2 --features kotlin 我得到以下警告: | Warning The following features are incompatible with other feature selections and have been removed from the project | kotlin 生成的项目已回退到Java,这非常优雅。 这是一个"bug“还是当前的预期行为?
例如,假设我有命令mycli test --true posarg。在本例中,mycli是程序的名称(父解析器),test是子命令(子解析器),--true是布尔标志参数,posarg是位置参数。我希望保持这种状态,但也有一些别名mycli true-test posarg,它指向mycli test --true posarg的定义。