タグ

関連タグで絞り込む (0)

  • 関連タグはありません

タグの絞り込みを解除

thorとrubyに関するtackeのブックマーク (3)

  • Why does Thor feature the no_tasks method?

    As I understand Thor it features ways to mark methods as no tasks because the concept of a method being a task is different from the concept of a method's visibility. They need to be differentiated because they do different jobs. Every method (independently of its visibility) of a subclass to the class Thor is considered a task unless it is explicitly marked as no task. By controlling the visibili

    Why does Thor feature the no_tasks method?
  • http://textmate.rubyforge.org/thor/Thor/Base/ClassMethods.html

    tacke
    tacke 2015/09/30
    no_tasks() を使うとtaskにせずにmethodを追加できる
  • Thorの使い方まとめ - Qiita

    コマンドラインツール作成支援のライブラリThorについて調べました。基的な使い方について情報をまとめました。といっても、ほとんどホームページの基情報を日語訳しただけのようなものですが。 Thorの概要 Thorは、コマンドラインツールの作成を支援するライブラリです。 gitbundlerのようにサブコマンドを含むコマンドラインツールを簡単に作成することができます。 基的な使い方 Thorを継承したクラスのパブリックメソッドがコマンドになります。 MyCLI.start(ARGV)でコマンドラインの処理をスタートします。一般的にはbinフォルダの実行形式ファイル内でstart(ARGV)を実行します。

    Thorの使い方まとめ - Qiita
    tacke
    tacke 2015/04/15
    "Thorは、コマンドラインツールの作成を支援するライブラリです。 gitやbundlerのようにサブコマンドを含むコマンドラインツールを簡単に作成することができます。"
  • 1