github apple/swift-argument-parser 0.2.1
ArgumentParser 0.2.1

latest releases: 1.5.0, 1.4.0, 1.3.1...
4 years ago

Additions

  • You can now generate Bash and Zsh shell completion scripts for commands,
    either by using the --generate-completion-script flag when running a
    command, or by calling the static completionScript(for:) method on a root
    ParsableCommand type. See the guide to completion scripts for
    information on customizing and installing the completion script for your
    command.

Fixes

  • Property wrappers without parameters can now be written without parentheses
    — e.g. @Flag var verbose = false.
  • When displaying default values for array properties, the help screen now
    correctly uses the element type's ExpressibleByArgument conformance to
    generate the description.
  • Running a project that defines a command as its own subcommand now fails with
    a useful error message.

Don't miss a new swift-argument-parser release

NewReleases is sending notifications on new releases.