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)