tbpgr / ruboty-itamae_search

A Ruboty Handler + Actions to output itamae plugin search result.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ruboty::ItamaeSearch

A Ruboty Handler + Actions to output itamae plugin search result.

Gem Version

  • Ruboty is Chat bot framework. Ruby + Bot = Ruboty
  • Itamae is Simple and lightweight configuration management tool inspired by Chef.

Installation

Add this line to your application's Gemfile:

gem 'ruboty-itamae_search'

And then execute:

$ bundle

Or install it yourself as:

$ gem install ruboty-itamae_search

Commands

Command Pattern Description
info /itamae_search info (?<gem_name>.+)\z/ get itamae-plugin info
random /itamae_search random\z/ get itamae-plugin info at random
ranking /itamae_search ranking (?<limit>\d+)\z/ get itamae-plugin ranking
author_ranking /itamae_search author_ranking (?<limit>\d+)\z/ get itamae-plugin author_ranking

Usage

info

  • get itamae-plugin info
> ruboty itamae_search info itamae
name:itamae
desc:Simple Configuration Management Tool
downloads:6895
rubygems_uri:http://rubygems.org/gems/itamae
homepage_uri:https://github.com/ryotarai/itamae

random

  • get itamae-plugin info at random
> ruboty itamae_search random
name:itamae-plugin-recipe-openresty
desc:Itamae openresty recipe plugin
downloads:96
rubygems_uri:http://rubygems.org/gems/itamae-plugin-recipe-openresty
homepage_uri:

> ruboty itamae_search random
name:itamae-plugin-resource-ghq
desc:Itamae resource plugin to manage repositories with ghq.
downloads:165
rubygems_uri:http://rubygems.org/gems/itamae-plugin-resource-ghq
homepage_uri:https://github.com/k0kubun/itamae-plugin-resource-ghq

ranking

  • get itamae-plugin ranking
> ruboty itamae_search ranking 3
no:1,name:itamae-plugin-resource-mail_alias,downloads:1069
no:2,name:itamae-plugin-recipe-selinux,downloads:1065
no:3,name:itamae-plugin-resource-cask,downloads:628

author_ranking

  • get itamae-plugin author_ranking
> ruboty itamae_search author_ranking 3
no:1,author:Gosuke Miyashita,downloads:2134
no:2,author:Takashi Kokubun,downloads:915
no:3,author:Ru/MuckRu,downloads:308

ENV

Name Description
-- --

Dependency

Name Description
ruboty-sonar gem itamae-sonar gem

Contributing

  1. Fork it ( https://github.com/tbpgr/ruboty-itamae_search/fork )
  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 a new Pull Request

About

A Ruboty Handler + Actions to output itamae plugin search result.

License:MIT License


Languages

Language:Ruby 100.0%