1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

RubotyAdvent Calendar 2014

Day 10

Ruboty | Itamae の Plugin を検索する ruboty-itamae_search を作成しました #ruboty

Posted at

Ruboty | Itamae の Plugin を検索する ruboty-itamae_search を作成しました #ruboty

概要

Ruboty の gem を検索する ruboty-itamae_search を作成しました

用途

「itamae-」で始まる gem の情報を調べたいとき。

  • どんな plugin があるか調べる
  • どんな plugin の人気があるか調べる
  • どの author の plugin の人気があるか調べる
  • ランダムに1つの plugin の情報を表示してみる

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 ruboty-plugin info
random /itamae_search random\z/ get ruboty-plugin info at random
ranking /itamae_search ranking (?<limit>\d+)\z/ get ruboty-plugin ranking
author_ranking /itamae_search author_ranking (?<limit>\d+)\z/ get ruboty-plugin author_ranking

Usage

info

  • get ruboty-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 ruboty-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 ruboty-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 ruboty-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

参照

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?