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 staticcompletionScript(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'sExpressibleByArgument
conformance to
generate the description. - Running a project that defines a command as its own subcommand now fails with
a useful error message.