# Examples

The examples folder in the GitHub repository contains many detailed and documented example configuration files, with their output.

View Examples on GitHub

All examples are listed below for convenience.

# Basic use

# Basic features

# Advanced configuration features

# Customization

# Bashly library features

  • config - using the config library for easy access to INI files
  • ini - using the ini library for direct, low level access to INI files
  • yaml - using the YAML reading functions
  • colors - using the color print feature
  • completions - adding bash completion functionality
  • validations - adding validation functions for arguments, flags or environment variables
  • hooks - adding before/after hooks

# Real-world-like examples

  • docker-like - a sample script with deep commands (like docker container run)
  • git-like - a sample script with subcommands similar to git

# Documentation generation

# Other examples

  • settings - using the settings.yml file to adjust bashly's behavior
  • help-command - adding a help command to your script

# Real world examples

These tools were developed using bashly. You can review their code to learn more about using bashly.

  • Alf - a generator for bash aliases and sub-aliases
  • git-changelog - a change log generator
  • kbgrep - a search tool optimized for knowledgebases
  • pls - project level shortcut
  • Respec - a convenience wrapper for ruby's rspec
  • Rush - a personal package manager
  • slack-emoji-toolkit - liberate your custom Slack emojis
  • orcli - OpenRefine command line interface