GithubHelp home page GithubHelp logo

name a dir on the command-line about reek HOT 7 CLOSED

troessner avatar troessner commented on August 17, 2024
name a dir on the command-line

from reek.

Comments (7)

ashmoran avatar ashmoran commented on August 17, 2024

Just ran into this one myself doing reek dm-core/lib :)

Maybe it should be an option? reek -r my_dir ? Or maybe it should work with directories and have a recursive option, with the obvious behaviour?

from reek.

kevinrutherford avatar kevinrutherford commented on August 17, 2024

I was thinking of mimicking the behaviour of rspec: if an arg on the command-line is a file, run it, but if it's a dir, run dir/**/*.rb -- best of both worlds!

from reek.

ashmoran avatar ashmoran commented on August 17, 2024

I see why I misunderstood you - when you write dir/**/*.rb you're putting the slash in italics and losing two of the * characters. (In Markdown, single * and _ give italics.) Recursive by default when given a directory makes sense - the RSpec behaviour is very useful (ie makes my life easier).

from reek.

kevinrutherford avatar kevinrutherford commented on August 17, 2024

Oh, sorry. (Why so many markup languages...?)

from reek.

ashmoran avatar ashmoran commented on August 17, 2024

I have noticed your aversion to learning new markup languages ;o) Markdown is my second favourite though, and the best widely-used one.

I think there are two things that every newbie web developer does - build a URL shortening service, and write a markup language...

from reek.

kevinrutherford avatar kevinrutherford commented on August 17, 2024

Fixed in v1.1.3.11 (commit 632a1e3).

from reek.

ashmoran avatar ashmoran commented on August 17, 2024

Working fine

from reek.

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.