components icon indicating copy to clipboard operation
components copied to clipboard

serverless --help

Open jerrygreen opened this issue 5 years ago • 3 comments

Feature Proposal

Description

I should be able to run sls --help (or serverless --help) to get output of possible commands for the cli. Also I should be able to run sls --version which will print version of current cli, WHETHER it's called from project folder or not. This is absolute standard, and this behaviour shouldn't be overridden by whatever context.

Currently, in a project folder, by running sls --version or sls --help the deploy process will be started

Similar or dependent issues:

  • https://github.com/serverless/serverless/issues/1479

jerrygreen avatar Dec 31 '19 05:12 jerrygreen

@JerryGreen I take you experience such behavior in components project?

medikoo avatar Dec 31 '19 09:12 medikoo

@JerryGreen I take you experience such behavior in components project?

Yes

jerrygreen avatar Dec 31 '19 17:12 jerrygreen

I am experiencing this behavior as well.

jimjeffers avatar Jan 24 '20 02:01 jimjeffers