codebag

command module
v0.0.0-...-61fbb7e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2014 License: GPL-2.0 Imports: 16 Imported by: 0

README

#codebag

simple CLI code snippet collect tool

##Usage

Add Snippets:

cb add [-m=message] [-t=tags] [-r] [files/directory...]
cb add -m "utf-8 conversion function" utf8.c
cb add -m "simple hello world with vim"
cb add -m "desc" -t "python, golang"

Remove Snippets:

cb rm <id>...
cb rm 1
cb rm 1 2 3 4 5

List Snippets:

cb ls


e.g.
$cb ls  
  	3	utf-8 conversion	2014-04-21 10:12:34	
  	2	hello world	2014-04-21 10:12:23	
  	1	Rpc server impl	2014-04-21 10:06:47

Get Snippet Conent:

cb get <id>...

e.g.
$cb get 2
#2 hello world 2014-04-21 10:12:23 

hello world

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL