The `swift package` command should also be exposed as a binary named `spm`

Originator:sindresorhus
Number:rdar://45167948 Date Originated:11-Oct-2018 01:50 AM
Status:Closed Resolved:No
Product:macOS + SDK Product Version:4.2
Classification:Feature (New) Reproducible:Always
 
Summary:
Having to type `$ swift package` every type I interact with Swift Package Manager gets tiring fast. Would be nice if it was also exposed as `$ spm`. All other programming languages have a short command for their package manager. For example, Node.js has `$ npm`. Ruby has `$ gem`. Python has `$ pip`.

Steps to Reproduce:
 

Expected Results:
I expected to be able to type, for example, `$ spm init` to initialize a new package.

Actual Results:
I have to type `$ swift package init`.

Version:
4.2

Notes:

Comments

Apple Developer Relations

Engineering has provided the following information regarding this issue:

"spm" was indeed considered but ultimately rejected. The discussion can be found in the alternatives considered of this proposal: https://github.com/apple/swift-evolution/blob/master/proposals/0085-package-manager-command-name.md#alternatives-considered

By sindresorhus at Oct. 12, 2018, 6:10 p.m. (reply...)

Swift issue

https://bugs.swift.org/browse/SR-8962

By sindresorhus at Oct. 10, 2018, 6:54 p.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!