You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
eton/README.md

55 lines
1.0 KiB
Markdown

9 years ago
# eton
9 years ago
eton is a note-taking cli tool.
9 years ago
## Install
go get github.com/siadat/eton
9 years ago
## Examples
9 years ago
# print the complete help
eton -h
9 years ago
# quick add
eton new '[ ] do something'
9 years ago
# add text from STDIN
ps aux | eton new -
9 years ago
# add a file
eton addfile file.txt
9 years ago
# unique aliases can be set and used instead of numeric ids
eton alias 2 processes
9 years ago
# list all items
eton ls -Lall
9 years ago
# filter items containing words "thing" AND "some"
eton ls thing some
9 years ago
# you can mark specific items
eton mark processes 1
9 years ago
# only list marked or aliased items (short mode)
eton ls -s
9 years ago
# open an item in less
eton show processes
9 years ago
# edit items
eton edit {1..3}
9 years ago
# alias matching is fuzzy
eton cat prcs
9 years ago
# pass items to xargs as filenames:
eton ls something -l |xargs -i less {}
9 years ago
Notes are stored in ~/.etondb
echo 'SELECT * from attributes LIMIT 10;' |sqlite3 ~/.etondb
I would love to hear how you use eton. Make pull requests, report bugs, suggest ideas.