Giter Club home page Giter Club logo

Comments (2)

henrycatalinismith avatar henrycatalinismith commented on August 30, 2024

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.

  1. 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.
  2. 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.

javierarce avatar javierarce commented on August 30, 2024

Understood, thanks for your answer, Henry!

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.