Giter Club home page Giter Club logo

Comments (5)

toolswatch avatar toolswatch commented on August 27, 2024

Hi qtfkwk
Let me check it ... thanks for the submission

from vfeed.

toolswatch avatar toolswatch commented on August 27, 2024

It works good.
I will definitely add your fix in the next 0.7 API release

Thanks again qtfkwk

from vfeed.

elnappo avatar elnappo commented on August 27, 2024

If you want to change this to ~/.vfeed/ please consider the XDG Base Directory Specification.

from vfeed.

agc93 avatar agc93 commented on August 27, 2024

More generally, hard-coding this to ~/.vfeed/ (as #54 does) without any way of overriding that seems to be essentially just as questionably opinionated as hard-coding it to $PWD.

Could it maybe be configurable (perhaps with environment variables) or use the directory where the script is located (meaning you could put it anywhere)?

from vfeed.

qtfkwk avatar qtfkwk commented on August 27, 2024

Generally agree that ~/.vfeed is as opinionated as $PWD.... also that it doesn’t conform to XDG spec. The level of effort to use an environment variable would not be so high, but would obviously involve a more serious change to the code. In which case, it’d make sense to design it well. I’d suggest a cascade: use the env var or command line option location if set, then perhaps a location in a config file, then fall back to $PWD. Thoughts?

from vfeed.

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.