clikt v3.3.0 Release Notes

  • ➕ Added

    • ➕ Added default parameter to argument().multiple() (#305)
    • 💻 Context.originalArgv that allows you to read the command line arguments from within a command's run (#290)
    • context { envarReader = {...} } to set a custom function to read from environment variables (#299)

    🔄 Changed

    • 0️⃣ defaultLazy values can now reference other parameters, as long the referenced parameters do not also reference other parameters
    • 🏗 You can now call CliktCommand.context multiple times on the same command, and all builder blocks will be applied
    • Validate values entered to a prompt option, and show another prompt if the validation fails (#288)
    • ⚡️ Updated kotlin to 1.5.31

    🛠 Fixed

    • Report error when excess arguments are given to a command with allowMultipleSubcommands=true (#303)