Sha256: a11ef8dd6050800ebb08e8d7b27e46b6868169656bd2c5f6ef3158f204635c53
Contents?: true
Size: 959 Bytes
Versions: 1
Compression:
Stored size: 959 Bytes
Contents
# fluent-format A command line utility to format fluentd configuration beautifully ## Installation Add this line to your application's Gemfile: gem 'fluent-format' And then execute: $ bundle Or install it yourself as: $ gem install fluent-format ## Command Line Interface Format fluent.conf $ fluent-format -c fluent.conf Check fluent.conf $ fluent-format check -c fluent.conf -p plugin_dir $ echo $? # 0: success 1: failure ## As a library ```ruby require 'fluent-format' File.open(path) {|config| puts Fluent::Format.format(config) # formatted string puts Fluent::Format.check(config, plugin_dir) #=> true: success false: failure } ``` ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request ## Licenses See [LICENSE](LICENSE)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fluent-format-0.2.1 | README.md |