In the help menu for the new subcommand we specify that the default is a static library but the behavior of the application does not reflect this.
$ ./hatch new --help master
running hatch...
hatch-new
Creates a new project. (default = static library)
USAGE:
hatch new [OPTIONS] <name> --type <type>
FLAGS:
-h, --help Prints help information
OPTIONS:
-i, --include <include>... List URLs to git repositories
-t, --type <type> Determines the type of the project [values: BIN, STATIC, SHARED]
-v, --version <version> Set the project version
ARGS:
<name> Name of project
plant /usr/dataplus/Hatch/hatch/target/debug
$ ./hatch new foobar master
running hatch...
error: The following required arguments were not provided:
--type <type>
USAGE:
hatch new [OPTIONS] <name> --type <type>
For more information try --help
In the help menu for the new subcommand we specify that the default is a static library but the behavior of the application does not reflect this.