An open API service indexing awesome lists of open source software.

https://github.com/0x20f/katana

Ruby toolkit for linux systems. For when you're tired of writing unreadable bash scripts and want cleaner APIs for common actions.
https://github.com/0x20f/katana

api linux ruby scripting structure unix

Last synced: about 2 months ago
JSON representation

Ruby toolkit for linux systems. For when you're tired of writing unreadable bash scripts and want cleaner APIs for common actions.

Awesome Lists containing this project

README

          

katana


toolkit for whoever is tired of writing unreadable bash scripts




## Quick Info
- Example usages can be found [here in my chaotic dotfiles](https://github.com/0x20F/dotfiles/tree/master/.scripts).
- Most of the tools it runs on aren't hot-swappable (yet) so keep that in mind.
- Every tool that needs to be installed in order for a module to work is defined within the module itself.

## Simple Usage
```ruby
# Load `katana` into your script
$: << ENV['katana']

# Require the `utils` module so you have an easier time importing things
require 'utils'

# Use any of the available `katana` modules to develop your script
use 'logs' 'machine'

# Do whatever your script needs to do below...
Machine::off()
```