Comments (2)
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.
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)
- include ppl edit <any-identifier> HOT 1
- Bash completion needs to escape shell tokens HOT 1
- Some questions about features and refactoring HOT 4
- Convert to use the vcard gem HOT 3
- Add support for the KIND field HOT 1
- Add support for the RELATED field HOT 1
- Add support for the NOTE field HOT 1
- Test out using the Thor gem for the CLI HOT 1
- Add more code quality tools and their badges HOT 5
- setting nickname erases name details in the vcard HOT 6
- autocomplete fails when it encounters invalid dates in the data set HOT 2
- ppl is destructively intolerant of tags it doesn't recognize HOT 1
- Colorized and aligned custom address book format HOT 1
- Not sure if Ruby version checking is doing the intended thing HOT 2
- Undo "ppl init" HOT 3
- create brew install HOT 1
- Mac/iOS integration HOT 1
- Windows OS Support HOT 1
- Strange error about "undefined method `version' for nil:NilClass (NoMethodError)" HOT 2
- ERROR: Failed to build gem native extension. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ppl.