Project

mycommands

0.0
No commit activity in last 3 years
No release in over 3 years
Small console app to manage your favourite commands
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 4.5.0
~> 0.9.11.4
~> 10.0.3

Runtime

~> 1.3.0
~> 1.0.1
 Project Readme

README

About

Often when I need a solution for a specific task I do a google search to find out what command I can use. Before I made this script I had a text file with commands saved that I wanted to rember. This script makes it easier to fetch and organize my favourite commands.

Screenshot

Installing

gem install mycommands

Usage

$ mycommands

Use "0" (zero) to go back to the previous listing of categories and commands. "q" will quit the script while browsing for commands.

Choose the command you need and fill in the parameters if there are any. You can use tab expansion while filling in the parameters.

Parameters can have a default value in (). If you just press enter the default value will be used.

About the yml files

If the script finds categories.yml or commands.yml in ~/Mycommands those files will be used instead of the default ones. You can run "mycommands --copy" to copy the default ones to ~/Mycommands.

Categories in categories.yml that has no subcategories has to end with a trailing blank space.

The format of commands in commands.yml:

Command description:
  - Category
  - command PARAM1 PARAM2 PARAM3
  - PARAM1: Example param1
  - PARAM2: Example param2 (default value)