Skip to content

lancher: default command option cannot be read #3683

Description

@xerial
case class CliOption(
   @option(prefix="-w")
   workDir: String
)
class Cli(...):
  @command(isDefault = true)
  def repl(opts: CliOption): Unit = ... // -w option cannot be accessed unless command name is `repl`

Metadata

Metadata

Assignees

No one assigned

    Labels

    Amazon Q development agentGenerate new features or iterate code based on issue descriptions and comments.bug

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions