Conrad Ludgate
72c5ea7914
tidy some stuff ( #6 )
2021-02-14 17:18:02 +00:00
Ellie Huxtable
8af0034ae0
Neaten the history listing code ( #5 )
...
I'd like to reduce the amount of SQL in the database code. Make it as
generic as possible, and later on perhaps expose a generic "execute"
function.
This function can be used by analysis commands, and the SQL can live
there - rather than database.rs being a huge bag of SQL.
2021-02-14 16:53:18 +00:00
Ellie Huxtable
660edfefed
Make pedantic clippy happy
2021-02-14 15:35:08 +00:00
Ellie Huxtable
d128297e67
Make clippy annoying asf + add server
2021-02-14 13:28:01 +00:00
Ellie Huxtable
8697aceb72
Fix clippy issues
2021-02-13 23:20:16 +00:00
Ellie Huxtable
e7d234e305
Remove panic
2021-02-13 22:58:31 +00:00
Ellie Huxtable
d8aacb4a80
Add fuzzy history search and distinct arg
2021-02-13 22:06:27 +00:00
Ellie Huxtable
fbaeedbba4
Minor fixes
2021-02-13 20:55:06 +00:00
Ellie Huxtable
440c4fc233
Add sessions
2021-02-13 20:24:22 +00:00
Ellie Huxtable
099afe66ec
Implement history import
2021-02-13 19:37:31 +00:00
Ellie Huxtable
7e60ace610
Record command exit code and duration
2021-02-13 17:02:52 +00:00
Ellie Huxtable
50ebe68d9f
Begin import
2021-02-13 13:20:39 +00:00
Ellie Huxtable
07aceb3dd4
Rename
2021-02-13 12:58:40 +00:00
Conrad Ludgate
7dd2d02238
fix: help text
2020-10-05 17:34:28 +01:00
Conrad Ludgate
28287a6303
feat: use directories project data dir
...
chore: clean up some things
2020-10-05 17:20:48 +01:00
Conrad Ludgate
34038f6aaa
chore: use structopt wrapper instead of building clap by hand
2020-10-05 11:52:03 +01:00
Ellie Huxtable
27b9a94305
Initial commit
...
Currently writing shell history to a sqlite db :)
Could do with:
1) store exit code
2) store duration
3) tidy up main
4) ...remote stuff
2020-10-05 00:59:28 +01:00