Diglossa
Diglossa is a helper gem for diglossa.org-like libraries.
Installation
Install it as:
$ gem install diglossa
CLI Usage
After installing the diglossa gem, Diglossa is available from your command line using the dg command. To get a complete overview of possible options type:
dg help
The examples and descriptions below does not cover all the options available via the CLI. So remember to refer back to the dg help command.
Commands:
dg help [COMMAND] # Describe available commands or one specific command
dg [NIC, push] # get author by NIC
book contents:
dg build [PATH] # parse BOOK by root PATH(.json/.yml) and build hash, ex: dg build "NT/Palama/Triads"
dg warns [PATH] # print errors and warns about BOOK by PATH
dg get [PATH/URL] # get BOOK tree by root path or url, i.e. "Greek/Plato/Dialogues" or "NT/Greek/Plat...
dg push [PATH] # builds, checks and pushes BOOK to couchdb by root PATH
texts (paragraphs):
dg gettexts [URL, delete] # get or delete! text docs by exact URL: dg gettexts "Psell/Chronographia/Part-1" N...
dg pushtexts [PATH] # parse texts for root PATH, ex: dg docs "NT/Palama/Triads"
ToDo
dg library # library contents get/push
Community
Join https://groups.google.com/forum/?fromgroups#!forum/diglossa mailing list
Special Thanks
Diglossa was inspired by soca.gem by Aaron Quint which I used to work with. Many thanks.
License
released under the GPL License.
Contributing
In the spirit of free software, everyone is encouraged to help improve this project.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request