Nexmo / nexmo-cli

Nexmo CLI (Command Line Interface)
https://nexmo.com
MIT License
78 stars 52 forks source link

Alias every app command to apps and vice versa #75

Closed sammachin closed 8 years ago

sammachin commented 8 years ago

IN the commands the term app and apps should be interchangable, sometimes the plural makes more sense.

eg nexmo app:create or nexmo apps:list are logical However nexmo apps:create and nexmo app:list should also still work.

tjlytle commented 8 years ago

In the future, we should probably make the CLI commands / namespaces closely mirror the API paths. That of course is blocked by those being defined: https://github.com/Nexmo/client-library-specification/pull/8

sammachin commented 8 years ago

I’m not so sure. The CLI isn’t meant to be a representation of the API its an alternative to the dashboard, therefore the commands should be named for ease of use as to what they are doing, in some scenarios we are making multiple API calls from one CLI command.

On Thu, Jul 7, 2016 at 5:02 PM Tim Lytle notifications@github.com wrote:

In the future, we should probably make the CLI commands / namespaces closely mirror the API paths. That of course is blocked by those being defined: Nexmo/client-library-specification#8 https://github.com/Nexmo/client-library-specification/pull/8

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Nexmo/nexmo-cli/issues/75#issuecomment-231125656, or mute the thread https://github.com/notifications/unsubscribe/AALc_cWWRS2SwS3d63LUSclbnTrarKWhks5qTSMwgaJpZM4JHC1Z .

cbetta commented 8 years ago

I agree with @sammachin on this. See #59 for details