Skip to content

redeyesdemonkyo/Spellbook

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spellbook

Introduction

Spellbook is a CLI utility to store references for shell commands (aka spells). This is a CRU (Create, Read, Update) app. No "D" since spells cannot be removed from a fantasy realm (afaik).

Basic Usage

Searching for Spells

Get all spells in your Spellbook

$ Spellbook find
ID  Description                   Contents                                Language  Tags
2   list comprehension            x = [row.attribute for row in table]    python    python,lists,comprehension
3   find process bound to a port  netstat -tulpn | egrep "<port number>"  bash      shell,networking

Get a spell based on ID

$ Spellbook find id <id>
ID  Description         Contents                              Language  Tags
2   list comprehension  x = [row.attribute for row in table]  python    python,lists,comprehension

Find spells based on tags

$ Spellbook find tag <tag>
ID  Description                   Contents                                Language  Tags
3   find process bound to a port  netstat -tulpn | egrep "<port number>"  bash      shell,networking

Advanced Usage

How advanced do you really think this can get?

Testing

It works on my machine ¯\_(ツ)_/¯

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 93.6%
  • Makefile 5.1%
  • Dockerfile 1.3%