# Bringing the best of Bash scripting to Ruby

DevFeed: [Bringing the best of Bash scripting to Ruby](<https://devfeed.tech/articles/bringing-the-best-of-bash-scripting-to-ruby-40735.md>)

Original publisher: [Read original article](<https://radek.io/posts/ruby-scripting/>)

Published: 2015-07-13T00:00:00Z

Content type: tutorial

Language: en

Sources: [Radek Pazdera](<https://devfeed.tech/sources/radek-pazdera.md>)

Topics: [Ruby](<https://devfeed.tech/topics/ruby.md>), [Scripting, bash](<https://devfeed.tech/topics/scripting-bash.md>), [Scripting](<https://devfeed.tech/topics/scripting.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Library](<https://devfeed.tech/topics/library.md>)

Tags: [bash](<https://devfeed.tech/tags/bash.md>), [cli](<https://devfeed.tech/tags/cli.md>), [commands](<https://devfeed.tech/tags/commands.md>), [interface](<https://devfeed.tech/tags/interface.md>), [library](<https://devfeed.tech/tags/library.md>), [ruby](<https://devfeed.tech/tags/ruby.md>), [scripting](<https://devfeed.tech/tags/scripting.md>)

## AI overview

This tutorial explains how to bring Bash-like simplicity to Ruby scripts while retaining better reusability and extensibility. It presents docopt for defining command-line interfaces and Scriptster for launching shell commands and logging script activity.

## Source excerpt

Using docopt and scriptster