Code Monkey home page Code Monkey logo

Comments (2)

gjtorikian avatar gjtorikian commented on July 3, 2024

The lines you’ve quoted are for using this library in a Ruby program. The steps for using the CLI is here.

If that’s not helpful—if you can give me more information on your scenario (“I want to write a bash script using htmlproofer that does…”), I can write better docs around it!

from html-proofer.

vegardjervell avatar vegardjervell commented on July 3, 2024

Thanks for your quick reply! I think the guide for the CLI tool, and the --help docs are good already, that's what I've been using so far.

I was suspecting that it was Ruby, and I'm just getting into the basics of Ruby now after getting confirmation from you :) my goal is to be able to use HTMLProofer without needing bash scripts for everything. I just think it would be helpful to clearly state in the guide how you would proceed with creating and running the script. Something like

# I don't know if this would be correct
touch htmlproofer_demo.rb
# ... Write contents of the file ...
ruby htmlproofer_demo.rb

I think the barrier to entry could be lowered a bit by something like that. After all, this is a tool that can be very useful for people who know next-to-nothing about Ruby and just need to put together some basic scripts (which is a nice excuse to start learning Ruby as well).

from html-proofer.

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.