Sha256: 578a18700eb97adb5734846884a3206d8a72c497f3d5085f49d04966a6f3c57b
Contents?: true
Size: 1.16 KB
Versions: 1
Compression:
Stored size: 1.16 KB
Contents
Jog === *In-progress.* Simple command-line tool for logging what you've been up to in plain text files. Create / edit log entry for today --------------------------------- ```shell > jog today ``` By default, this will create a blank file at `~/jog/YYYY/MM/DD.txt'` and open it with Vim. If the file already exists, it will be opened in your editor. Configuration ------------- When run, `jog` will walk up your directory tree from your current working directory looking for `.jogrc` and `.jogtemplate`. If it can't find them, it will look in your home directory. If they don't exist there, it will use the built-in defaults. To view your current configuration, run `jog config`: ```shell > jog config Config ------ {:root=>"/Users/tyson/Dropbox/log", :editor=>"mate -w", :path_format=>"%Y/%B/%d.txt"} Template -------- --- Date: <%= Time.now.strftime( "%B %-d, %Y" ) %> Time: <%= Time.now.strftime( "%-I:%M%P %Z" ) %> --- ``` ### `.jogrc` Example root: ~/Dropbox/log editor: vim -f path_format: '%Y/%B/%d.txt' ### `.dontemplate` Example --- Date: <%= Time.now.strftime( "%B %-d, %Y" ) %> Time: <%= Time.now.strftime( "%-I:%M%P %Z" ) %> ---
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jog-0.0.2 | README.md |