Socket
Book a DemoInstallSign in
Socket

thor_enhance

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

thor_enhance

0.5.1
bundlerRubygems
Version published
Maintainers
1
Created
Source

ThorEnhance

ThorEnhance enhances thor's capabiltiies. It allows customizable method options and task options.

Additionally it provides hooks into each method option that allows deprecation dynamically.

Installation

Add this line to your application's Gemfile:

gem 'thor_enhance'

Usage

Hooks

Hooks allow you to deprecate, warn, or do some other custimizable action when a user calls thor with the specific option

Hook documentation Hook examples

Method option Injection

Method option injection allows you to enhance specific commands. When used inconjunction with ThorEnhance::Tree, the added fields to the method options are avaialable in your code with ease.

Method option documentation

Command option Injection

Command option injection is very powerful. This allows add low level documentation in line with the actual code.

Command option documentation

Automatic ReadMe Generation

The beauty of ThorEnhance is that it forces all your documentation to live with the code. As your code changes, the documentation naturally changes with it.

ThorEnhance can automatically generate your code bases Readme for you.

Autogenerate Readme

Initialization

Refere to documentation

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/matt-taylor/thor_enhance.

FAQs

Package last updated on 26 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.