Coder Social home page Coder Social logo

post bug? about ppl HOT 4 CLOSED

henrycatalinismith avatar henrycatalinismith commented on June 3, 2024
post bug?

from ppl.

Comments (4)

axelGschaider avatar axelGschaider commented on June 3, 2024

completely offtopic: thanks. Now I figured out what "ppl" stands for :)

from ppl.

henrycatalinismith avatar henrycatalinismith commented on June 3, 2024

Please don't bother following these instructions. I misread the original question as a potential bug instead of incorrect usage and as a result this entire comment is worthless. Sorry.

Hi there!

Glad to hear you've at least had some luck! But you're right, ppl post me should be printing the postal address of that contact. I have a few questions whose answers would help me narrow down the cause of the problem:

  • What version of ppl are you running?
    gem list --local | grep ppl
  • Does the contact me definitely exist in the address book?
    ppl post | grep "^me:"

from ppl.

henrycatalinismith avatar henrycatalinismith commented on June 3, 2024

Wait a second, I've been a bit careless here and failed to properly read your example code.

That usage of ppl post is incorrect I'm afraid. It doesn't work in quite the same way as other commands such as ppl email because postal addresses are quite complex beasts made up of several distinct parts. As such, you have to tell it which part of the address you're giving it. So instead of what's in your example, you'd do the following:

ppl post me --street "1 Testing Road"

And then you'd see some output from ppl post me. See the documentation for ppl post for more details.

In order to help avoid this confusion in future, I'm going to alter the behaviour of the command. Providing a string such as "1 Testing Road" without an option flag such as --street indicating what the string means is incorrect usage and users ought to be notified of the error.

from ppl.

rlp10 avatar rlp10 commented on June 3, 2024

Thanks very much for the clarification!

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.