Building README.md Building for Release

ReadME - a github readme builder

readme is a cli tool to extract markdown text from source code files

Motivation

After trying some of doc builder tools I couldn't find anything that realy suits my needs, so decided to write my own

Goals:

Installation

TODO Write installation instructions here

Usage

Usage: readme [arguments]
    -t FILE, --template=FILE         ECR template file, [default: default]
    -o FILE, --output=FILE           Specifies output file, [default: stdout]
    --no-recursive                   Disable recursive file lookup, [default: false]
    --file-type                      File type extension to filter, [default: any]
    -v, --version                    Show version
    -h, --help                       Show this help
    --show-context                   Shows default context and templates
For further help with templates please refer to: https://github.com/straight-shoota/crinja

Development

TODO Write development instructions here

TODO

Contributing

  1. Fork it (https://github.com/quirinux/readme/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

The following was generated using readme itself :-), check out how it is done on README.md.j2.


Table of Contents

  1. src/readme.cr
  2. src/main.cr
  3. examples/rust.rs
  4. examples/ruby.rb
  5. examples/python.py

src/readme.cr

readme file processor this is the app file

src/main.cr

this is the project main file, where all the magic begins

TODO it'd be nice to have an exclude path/files flag

examples/rust.rs

this is supposed to be a rust file with

some nice comments in it

examples/ruby.rb

this is supposed to be a ruby file with

some nice comments in it

examples/python.py

this is supposed to be a python file with

some nice comments in it