Coder Social home page Coder Social logo

f's People

Contributors

keithwhor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

f's Issues

Params with equal signs break

Using equal signs breaks the params.

➜  stripe git:(master) ✗ f . --redirect-url="https://nemo.github.io/stripe-f/" --redirect-timeout="10" --amount="999" --charge-description="Test Payment" --stripeTokenType="card" --stripeEmail="[email protected]" --stripeBillingName="Nima Gardideh" --stripeBillingAddressCountry="United States" --stripeBillingAddressCountryCode="US" --stripeBillingAddressZip="94103" --stripeBillingAddressLine1="1600 15th Street, Apartment 616" --stripeBillingAddressCity="San Francisco" --stripeBillingAddressState="CA" --stripeShippingName="Nima Gardideh" --stripeShippingAddressCountry="United States" --stripeShippingAddressCountryCode="US" --stripeShippingAddressZip="94103" --stripeShippingAddressLine1="1600 15th Street, Apartment 616" --stripeShippingAddressCity="San Francisco" --stripeShippingAddressState="CA"
/usr/local/lib/node_modules/lib/node_modules/f/lib/parse.js:3

How does auth work with HTTP and private functions?

If you call a private function over HTTPS, how do you authenticate it?

Also, is there a reason you can't use POST requests and have a body which would allow for numbers as well as strings since all URL params are made into strings.

empty kwarg throws error

When I supply a kwarg from the command line as an empty string, f throws an exception. Here is an example:

$ f thisdavej/finance --ticker ""
Warning: no "env.json" detected
/usr/lib/node_modules/lib/node_modules/f/lib/parse.js:3
  if (value[0] === '"') {
           ^

TypeError: Cannot read property '0' of null
    at convertString (/usr/lib/node_modules/lib/node_modules/f/lib/parse.js:3:12)
    at parseArg (/usr/lib/node_modules/lib/node_modules/f/lib/parse.js:84:37)
    at parseParams (/usr/lib/node_modules/lib/node_modules/f/lib/parse.js:119:10)
    at Object.parseString [as fromString] (/usr/lib/node_modules/lib/node_modules/f/lib/parse.js:134:19)
    at external (/usr/lib/node_modules/lib/node_modules/f/lib/f.js:37:22)
    at Object.<anonymous> (/usr/lib/node_modules/lib/cli/f_bin.js:79:19)
    at Module._compile (module.js:573:32)
    at Object.Module._extensions..js (module.js:582:10)
    at Module.load (module.js:490:32)
    at tryModuleLoad (module.js:449:12)

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.