Comments (2)
I appreciate the suggestion, and I've been considering it again today as a result. I thought about this myself a few times earlier in the project, so I'm not surprised to see somebody else have the same idea.
Ultimately, I repeatedly decided against doing this for a couple of reasons. Here they are, but please don't feel like I'm throwing these at you to belittle your suggestion: they're reasons I had to come up with to convince myself to stop spending so much time debating this idea a few weeks ago.
- Potential name collisions between contact IDs and commands. Certainly there probably aren't many people out there who would refer to their friend as "phone", but I don't want to get in anybody's way by creating a bunch of reserved words.
- I'm trying to structure the overall "user experience" in a similar way to git's CLI by following the pattern of {{subject}} {{verb}} {{object}}. Creating a special case where that pattern doesn't apply would mean that the UX isn't consistent with either git or with the other commands in ppl itself.
I agree that typing ppl show
gets boring after a while though. Perhaps the solution is for me to get on with implementing alias support? That way you could put something like the following in your ~/.pplconfig
:
[alias]
s = show
Then it would just be ppl s fred
which feels a little bit less tedious to type.
from ppl.
Understood, thanks for your answer, Henry!
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.