Project

rclid

0.0
No commit activity in last 3 years
No release in over 3 years
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 subcommands 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.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.3
>= 0
 Project Readme

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