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.
- Host: GitHub
- URL: https://github.com/0x20f/katana
- Owner: 0x20F
- License: mit
- Created: 2022-04-05T12:26:30.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-05T12:56:37.000Z (about 4 years ago)
- Last Synced: 2025-05-18T05:32:04.453Z (about 1 year ago)
- Topics: api, linux, ruby, scripting, structure, unix
- Language: Ruby
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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()
```