Sha256: 75b63d4c779ff6f7e230d66acc9f1e3271b8ca3dfed99996b8d5ff85ff0fcd1e

Contents?: true

Size: 1.23 KB

Versions: 2

Compression:

Stored size: 1.23 KB

Contents

= 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`.

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
kmkr-0.0.2 README.rdoc
kmkr-0.0.1 README.rdoc