= kmkr - CLI to create files prefixed by date Author:: Mário Nzualo (mailto:mario.nzualo at g mail dot com) Copyright:: Copyright (c) 2015 Mário Nzualo License:: mit, see LICENSE.txt kmkr is a CLI to create files prefixed by date (e.g. `20151031.md`). It supports creating files with any file extension, date format and a suffix. == Why Because I create notes files everyday with a date prefix and I got tired of manually typing the date myself. == Links * {Source on Github}[https://github.com/marionzualo/kmkr] * RDoc[LINK TO RDOC.INFO] == Install $ gem install kmkr == Examples # Create an .md file with today's date (e.g. 31-10-2015.md) $ kmkr md # Create a .rb file with a different date format (e.g. 20151031.rb) $ kmkr rb -f %Y%m%d # Create a .rb file with a suffix (e.g. 31-10-2015_that_thing.rb) $ kmkr rb -s _that_thing == Options `-f`, `--date-format` Use a different date format for the filename prefixes. The format directives used are the ones for [Ruby's strftime method](http://ruby-doc.org/core-2.2.2/Time.html#method-i-strftime). `-d`, `--directory` Set the location where the file should be saved. `-s`, `--suffix` Add a suffix to the filename You can always get more details using `kmkr -h`.