You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The simplest case, and the one that will serve the vast majority of SPM users, is to create an application that uses other packages. But how to do that requires extracting it from a complicated 3-package example in the documentation, and `swift project init --type executable` is not easy to discover. `swift project --help` doesn't give an indication that I can type `swift project init --help` and get detailed help for the init command.
The very first example should show how to create a simple executable package.
the `--help` text should be amended with something like what's at the end of `git --help` output: “See 'git help <command>' or 'git help <concept>'
to read about a specific subcommand or concept.”
The text was updated successfully, but these errors were encountered:
Additional Detail from JIRA
md5: ecf1133683f71b74e3bfba25b96d01df
Issue Description:
The simplest case, and the one that will serve the vast majority of SPM users, is to create an application that uses other packages. But how to do that requires extracting it from a complicated 3-package example in the documentation, and `swift project init --type executable` is not easy to discover. `swift project --help` doesn't give an indication that I can type `swift project init --help` and get detailed help for the init command.
SR-12304 doesn't help, either ;-)
I recommend:
The very first example should show how to create a simple executable package.
the `--help` text should be amended with something like what's at the end of `git --help` output: “See 'git help <command>' or 'git help <concept>'
to read about a specific subcommand or concept.”
The text was updated successfully, but these errors were encountered: