Simple schedule manager for CAMPHOR-
- Manage public & private schedules
- Manage events using simple CSV master files
- Convert master files to iCal and JSON files
Install hanreki with gem command:
$ gem install hanreki
$ hanreki
You can also install hanreki with bundler. Add this line to your Gemfile:
gem 'hanreki'
And then execute:
$ bundle
$ bundle exec hanreki
Run hanreki help
or bundle exec hanreki help
.
hanreki blank
generates a master file for the next month.
hanreki sync
generates iCal and JSON files from master files.
hanreki edit
opens a editor and validates master files.
Hanreki chooses the editor in the following order:
- Editor specified by the environment variable:
CAMPHOR_SCHEDULE_EDITOR
- Editor specified by the environment variable:
EDITOR
vi
hanreki validate
validates master files.
After checking out the repo, run bin/setup
to install dependencies. Then, run bundle exec rake spec
to run the tests. You can also run bin/console
for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install
. To release a new version, update the version number in version.rb
, and then run bundle exec rake release
, which will create a git tag for the version, push git commits and tags, and push the .gem
file to rubygems.org.
Bug reports and pull requests are welcome on GitHub at https://github.com/camphor-/hanreki.
This application is named after a Japanese word "頒暦".