Project

Bashy

0.0
No commit activity in last 3 years
No release in over 3 years
Generate Bash code for common tasks (creating files/dirs, chmod-ing, chown-ing, etc).
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

Bashy

Classes to help you generate common tasks using bash:

  • creating/deleting files and directories.
  • chmod
  • chdir

Installation

gem install Bashy

Usage

require "Bashy"

cmd = Bashy_File.new { |o|

  o.mode 0770
  o.sudo true
  o.path "/my_secret_dir"
  
}.create

`#{cmd}`

Available classes:

  • Bashy_File
  • Bashy_Dir
  • Bashy_Apt

Run Tests

git clone git@github.com:da99/Bashy.git
cd Bashy
bundle update
bundle exec bacon spec/main.rb

"I hate writing."

If you know of existing software that makes the above redundant, please tell me. The last thing I want to do is maintain code.