Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rclid

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rclid

  • 1.0.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Rclid

The name Rclid stands for Rapid Command Line Interface Development and is pronounced the way you like.

As its name implies, the goal of this gem is to provide you with a light structure to create command line interfaces like a breeze.

Focusing on rapid development, creating basic single command line application or a more complex one using composite sub commands is achieve in light speed.

If you have ideas that would reduce even more development time and could be that this library, come discuss it with me by creating an issue on github.com.

Installation

Install it via rubygems

$ gem install rclid

Usage

Rclid is really to get started with. The simplest command line application is like the following (file hello):

#!/usr/bin/env
require 'rclid/base'

class Hello < Rclid::Base
  def execute()
    puts "Hello, World!"
  end
end

Hello.new().run()

This will create a command line application that will print Hello, World! in the console when hello is called.

Until I improve this section, there is different locations where you can check for samples that use Rclid

  • The samples directory contains some samples ruby files that use Rclid. They are commented at different locations to explain the features that you can use.

  • Buildozer is using Rclid for its command line interface. Check here.

  • Clivers is using Rclid for its command line interface. Check here.

  • My personal bin is on github. I use Rclid for each command I create.

Contributing

  1. Fork it

  2. Create either a fix branch or a feature branch

  • git checkout -b fix-(name-here)
  • git checkout -b feature-(name-here)
  1. Commit your changes
  • git commit -am 'Message describing the fix or feature'
  1. Push the branch into your repo
  • git push origin feature-(name-here)
  1. Create new Pull Request

FAQs

Package last updated on 19 Jul 2013

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc