Coder Social home page Coder Social logo

Comments (2)

pigmonkey avatar pigmonkey commented on June 15, 2024

I'm liking the idea of having numeric identifiers for more than just addresses. I've gone through and updated my contacts' phone numbers a couple times recently. First to set a type, then to specify preferred numbers. Typing out the phone number whenever I want to do anything to it gets old, and I already need to do a ppl phone johnd first so that I can get the phone number.

To set a preferred phone number, right now I need to do this:

$ ppl phone johnd
    123-555-1234 (cell)
    123-555-5678 (work)
$ ppl phone johnd 123-555-1234 -p

It would save keystrokes if I could also do something like this:

$ ppl phone johnd
1.    123-555-1234 (cell)
2.    123-555-5678 (work)
$ ppl phone johnd 1 -p

from ppl.

henrycatalinismith avatar henrycatalinismith commented on June 15, 2024

I know what you mean, that can be a bit of a pain. Incidentally, I recently spent some time expanding on the bash completion code you contributed, so that it can autocomplete things like this.

$ ppl phone james<tab>        # pressing tab shows suggested matches
[email protected]     [email protected]
$ ppl phone james jamie<tab>  # pressing tab autocompletes the remaining address
$ ppl phone james [email protected]

Since doing that, it's been much less frustrating. I'm not sure how this whole thing will turn out just yet, though. On the one hand., I'm extremely dubious of numerical identifiers. In the past I've used CLI todo list software that relied on them, and it was a never-ending usability nightmare remembering all these arbitrary numbers that constantly shifted around when things were created and deleted. I found myself having to re-output the list every other command.

But on the other hand, I plan to build them into ppl post anyway, and I'll try to keep my mind open when I do. Once they're built into that command, I am intrigued to see how I feel about numerical identifiers. If nothing else it'll be an interesting challenge trying to make them work better than my previous experiences with them, and if it works out well enough, who knows.

from ppl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.