Nexmo / nexmo-cli

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

Feature: Get a list of numbers associated with my application #91

Closed leggetter closed 7 years ago

leggetter commented 8 years ago

As I'm building apps I'm frequently thinking to myself "What numbers are associated with this application?"

It'd be great to be able to do something like:

nexmo app:numbers APP_ID

And get a list of the numbers that are associated with the APP_ID.

For the moment, the only way I can do this is:

nexmo numbers --verbose --size 50

And manually look for my application ID in the output.

Open to the feedback that I'm just being lazy or rubbish at CLIs 😄

cbetta commented 8 years ago

Would be easy to add a convenience method. Can look at this when I'm back.

cbetta commented 8 years ago

@leggetter isn't this visible in nexmo app:show <app_id>?

cbetta commented 8 years ago

Ah ignore me, it doesn't

sammachin commented 7 years ago

you can do this with a pipe and grep nexmo numbers -V | grep [APP-ID] thats the beauty of CLI you can connect stuff with other utils as well