recollect 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -6
- data/TODO +0 -7
- data/lib/recollect/recollect.rb +1 -1
- data/lib/recollect/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 34f432868c90cabcb0e7c9d39f39db8e89931d30
|
4
|
+
data.tar.gz: 65a98ba2cf94ab8d1dab1093b536b2af9595b256
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7a72bfeceeacac8c4cc92d74c6db51bbd671a48aa6c2c7e745dd8693e7f67286a508ea85a454117a64d7b8d3c3f49ef69997cc5e38700dc161c9511d755671b
|
7
|
+
data.tar.gz: baf5d9f665a5fd36525e0502b8c6110775f9bf240f89fb8455f80a5b5e30a2c9b86220ffed8ef88fb4f11a15428a763faf62e77f91342c989db6862f1f6660c3
|
data/README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# Recollect
|
2
|
-
A simple tool for creating, managing, and viewing snippets, notes, or pretty much any other text-based content at the command line. The original purpose was to store infrequently used complex command strings in a location where they could easily be indexed and retrieved.
|
2
|
+
A simple tool for creating, managing, and viewing snippets, notes, or pretty much any other text-based content at the command line. The original purpose was to store infrequently used complex command strings in a location where they could easily be indexed and retrieved. Text files are stored under `~/.recollections` and can be accessed using other tools or methods (e.g. Git, Dropbox, etc).
|
3
3
|
|
4
4
|
*Note* If you find yourself outlining complex procedures, you should consider if a shared team knowledge base might be a better fit.
|
5
5
|
|
@@ -11,9 +11,13 @@ If you haven't already, you should set your EDITOR. On OSX you can set it to Tex
|
|
11
11
|
|
12
12
|
echo 'export EDITOR="mate -w" >> ~/.bash_profile
|
13
13
|
|
14
|
-
###
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
14
|
+
### Usage
|
19
15
|
|
16
|
+
USAGE: recollect ACTION [arg]
|
17
|
+
Actions: list, new, edit, or <name> where <name> is the recollection to be displayed.
|
18
|
+
list - provides a listing of all available recollections
|
19
|
+
name - displays the recollection matching 'name'
|
20
|
+
new [name] - provides a listing of all available recollections
|
21
|
+
edit [name] - provides a listing of all available recollections
|
22
|
+
remove [name] - removes a recollections
|
23
|
+
Note: ["new", "edit", "remove", "help"] are reserved and cannot be the name of a recollection.
|
data/TODO
CHANGED
@@ -1,16 +1,9 @@
|
|
1
1
|
Known Issues:
|
2
2
|
|
3
3
|
- Add an open license
|
4
|
-
- Convert to Ruby functionality only (no shell commands)
|
5
|
-
- Need to reserve words so topics can't be (new, edit, remove, list, search)
|
6
4
|
|
7
5
|
Feature Requests:
|
8
6
|
|
9
|
-
- Make snippets directory ${HOME}/.recollect/
|
10
|
-
- Build in paging functionality
|
11
|
-
- Needs to obey ${EDITOR} environment variable (how does this play on Windows?)
|
12
7
|
- Allow for the creation of nested snippets (sub-directories)
|
13
8
|
- when listing, count topics in subdirectories but don't list the individual snippets
|
14
9
|
- Add a search functionality that lists the snippet(s) containing the item searched for along with any matching content lines
|
15
|
-
- Create a mobile app synced via dropbox?
|
16
|
-
- add support for markdown instead of just txt files
|
data/lib/recollect/recollect.rb
CHANGED
@@ -3,7 +3,7 @@ require 'fileutils'
|
|
3
3
|
module Recollect
|
4
4
|
class Recollection
|
5
5
|
def initialize(args)
|
6
|
-
@reserved = %w[new edit remove help]
|
6
|
+
@reserved = %w[new edit remove help search]
|
7
7
|
usage unless args.length >= 1 && args.length <= 2
|
8
8
|
@action, @name = args
|
9
9
|
usage if @reserved.include?(@action) && args.length < 2
|
data/lib/recollect/version.rb
CHANGED