Registry / cli / thor-hollaback

thor-hollaback

JSON →
library0.2.1rbrubygemsunverified

Adds callbacks to Thor commands for before and after hooks.

gem install thor-hollaback
INSTALL
IMPORT
SIG · THOR-HOLLABACK
T
thor-hollaback
clirubyv0.2.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ThorHollaback
require 'thor-hollaback'

Define a Thor command with a before callback.

require 'thor-hollaback' class MyCLI < Thor include ThorHollaback before :my_command, :before_hook def my_command puts 'Running command' end end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
33 hits · last 30 days
node
30
Amazon
1
OpenAI (training)
1
Resources
thor-hollaback — gem install thor-hollaback · libregistry