I would like a default alias for
sam-cli to be
The name “SAM” refers to the “Serverless Application Model” which is a means of expressing an application in code. It is just a model and some conventions.
The SAM CLI is a command line tool that help users to create and deploy applications using SAM.
The binary for the SAM CLI is called
sam (because it’s shorter and easier than typing
The command line tool is always referred to in documentation as “the SAM CLI” so I would argue that the snap name ought to be
sam-cli to keep that distinction between the model and the tool. However, users expect to install the SAM CLI and find a binary called
I’m happy to be schooled in The Ways of Snap on this but the long and short of it is that I suspect users will search for “sam cli” or “sam-cli” and expect to find a package named that - that’s the name of its package in other package managers.