CMSソフトhikiのtextを直接編集するのを助けるutilitiesデス.
hikiでlocalとglobalのサイトを管理している場合の,text, cache, rsyncなどでfilesを直接編集,操作するためのutilityデス.
"hiki" をコマンド名としています.
Usage: hiki [options]
-v, --version show program Version.
-s, --show show sources
-a, --add add sources info
-t, --target VAL set target id
-e, --edit FILE open file
-l, --list [FILE] list files
-u, --update FILE update file
-r, --rsync rsync files
--database FILE read database file
--display FILE display converted hikifile
-c, --checkdb check database file
--remove FILE remove file
--move FILES move file1,file2
--euc FILE translate file to euc
Installed by
$ gem install hikiutils
At the first time of hiki operation, hikirc file is created at home dir.
bob% cat ~/.hikirc
---
:target: 1
:editor_command: open -a mi
:browser: Google\ Chrome
:srcs:
- :nick_name: hoge
:local_dir: hogehoge
:local_uri: http://localhost/~hoge
:global_dir: hoge@global_host:/hoge
:global_uri: http://hoge
For example, the browser to see a hiki page is set 'Google Chrome' in this case; other examples are 'safari', 'firefox', and so on. The directly editing of hikirc file is much easier than using -a option. Each hiki utility option runs, assuming the editing files lacating locally.
Enjoy hiki world!!
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/daddygongon/shunkuntype. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the MIT License.