updated README

master
Sina Siadat 9 years ago
parent 435f7e94c6
commit 63c82135b5

@ -2,11 +2,16 @@
eton is a note-taking cli tool.
## Install / Upgrade
* sqlite database storage
* fast search
* quick access using unique aliases
* marking important notes
## Install or upgrade
go get -u github.com/siadat/eton
## Examples
## Usage examples
```shell
# display the help message
@ -61,7 +66,7 @@ eton cat prcs
eton ls '[ ]' -l |xargs -i less {}
```
Notes are stored in ~/.etondb
Notes are stored in `~/.etondb`
```shell
echo 'SELECT * FROM attributes LIMIT 10;' |sqlite3 ~/.etondb

@ -699,6 +699,7 @@ func saveString(db *sql.DB, value_text string) (lastInsertId int64) {
}
func InitializeDatabase(db *sql.DB) bool {
// TODO use fts3 for faster full-text search: CREATE VIRTUAL TABLE attributes USING fts3 (...)
sqlStmt := `
DROP TABLE IF EXISTS attributes;
CREATE TABLE attributes (

Loading…
Cancel
Save