Git Product home page Git Product logo

Comments (3)

solidiquis avatar solidiquis commented on May 28, 2024

That is a bug. I'll work on getting that fixed ASAP. As for your questions:

  1. Globbing for different file-types in one query isn't supported, but I'll work on getting that supported for the next release.
  2. Could you provide an example for this use-case? I don't see how this would work given that erd expects only a single positional argument which is the directory to traverse, but perhaps it'll make sense once I see what you're trying to accomplish.

from erdtree.

Kushagra-0801 avatar Kushagra-0801 commented on May 28, 2024

Could you provide an example for this use-case? I don't see how this would work given that erd expects only a single positional argument which is the directory to traverse, but perhaps it'll make sense once I see what you're trying to accomplish.

With log files or static assets or in just a lot of cases, it happen that I have a couple hundred files in a directory. With ls I would do ls *-2023-08-* to list out all log files in august. I can do this with erd as well but it requires quoting. erd --glob --pattern '*-2023-08-*'. Even without the globs, sometimes I want to check whether a file just exists or not so running ls with the filename is what I do. Doing the same with erd fails with either can't compute root node or too many arguments.

It's not a huge problem to be honest, but old habits die hard.

from erdtree.

solidiquis avatar solidiquis commented on May 28, 2024

ahhh okay that makes sense. Ignore what I said earlier about it not being possible, I didn't correctly envision what you were asking for. It should definitely be possible. I'll add that into my list of todos to include in the next release.

from erdtree.

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.