Commit graph

37 commits

Author SHA1 Message Date
Josh Hansen
2c1b6417c1 Introduce init to set useful metadata for tables 2023-08-11 21:35:36 -07:00
Josh Hansen
d3c1c5fd54 Remove redundant name= 2023-08-11 21:13:23 -07:00
Josh Hansen
e84b532f34 Sort ls output by default; allow --nosort 2023-08-11 17:24:09 -07:00
Josh Hansen
eeea5fd0eb Add ls command 2023-08-11 17:08:01 -07:00
Josh Hansen
f0309baac7 Implement REPL 2023-08-11 14:20:59 -07:00
Josh Hansen
774262e18b Nicer prompt etc 2023-08-11 13:43:00 -07:00
Josh Hansen
ea630769bc Initial (not fully functional) REPL using rustyline 2023-08-11 13:29:43 -07:00
Josh Hansen
c74adecbff Use parse_xattr instead of providing a literal 2023-08-10 18:25:18 -07:00
Josh Hansen
ab59d42815 Make get recursive by default; allow --flat to disable 2023-08-10 18:10:14 -07:00
Josh Hansen
1bc8c9506e Fix typo 2023-08-10 18:09:59 -07:00
Josh Hansen
866041a3a9 Rename to Ghee 2023-08-08 23:46:13 -07:00
Josh Hansen
3292526e50 Port rm to nom parsing; remove standardize_xattr et al 2023-08-08 23:40:38 -07:00
Josh Hansen
4d13f6a721 Port cp and mv 2023-08-08 23:35:56 -07:00
Josh Hansen
8f1b912a82 Port set and idx to nom parsers 2023-08-08 22:18:45 -07:00
Josh Hansen
8f52363852 Use nom parser for field assignments using set
Makes example.sh run
2023-08-08 18:22:33 -07:00
Josh Hansen
87a7550558 Let Xattr attrs have dots; enforce namespace restriction 2023-08-08 12:16:08 -07:00
Josh Hansen
7b59d068ed Implement filtering by predicate on get 2023-08-07 22:39:20 -07:00
Josh Hansen
405c65131e Allow strings as an alternative to numbers 2023-08-07 12:04:18 -07:00
Josh Hansen
9cb4e2a465 Parse --where arguments/clauses using clap 2023-08-04 15:09:32 -07:00
Josh Hansen
ef7220cb55 A parser for WHERE-style predicates 2023-08-04 14:28:38 -07:00
Josh Hansen
3eb3b2b5bb Fully check xattr format; fill in user. prefix when absent 2023-08-03 13:26:54 -07:00
Josh Hansen
4193c602e2 Set user.mattress.keyname 2023-08-02 20:25:34 -07:00
Josh Hansen
1e333fe8a6 Extract cli.rs 2023-08-02 17:10:14 -07:00
Josh Hansen
82acf0de8a Only process files, not directories 2023-08-02 16:58:32 -07:00
Josh Hansen
04031e3e28 Implement idx 2023-08-02 16:47:25 -07:00
Josh Hansen
17d5c35a05 Add doc comments to commands 2023-08-02 16:47:15 -07:00
Josh Hansen
252a4f891b Rename Hatter -> Mattress 2023-08-02 14:09:45 -07:00
Josh Hansen
ee2c270a00 Provide default non-UTF8 output for get 2023-07-29 18:54:41 -07:00
Josh Hansen
3a84cdbc36 Only produce output if xattrs are present 2023-07-29 18:31:09 -07:00
Josh Hansen
bd7502d4ad Default to all fields when none provided (rm and get) 2023-07-29 18:29:25 -07:00
Josh Hansen
29462c0986 Implement remaining commands, hopefully correctly 2023-07-29 18:00:35 -07:00
Josh Hansen
35e2bb582a Get copy working when not specifying fields 2023-07-28 16:02:00 -07:00
Josh Hansen
2fb5d404ab Rename as hatter (htr) and customize release profile 2023-07-28 15:37:53 -07:00
Josh Hansen
f706170f2a Implement cp 2023-07-28 15:20:03 -07:00
Josh Hansen
0cf524cc2e Work on cp 2023-07-26 16:39:26 -07:00
Josh Hansen
085d8a57d0 Parse subcommands 2023-07-25 19:58:19 -07:00
Josh Hansen
4797e2da16 Begin development of xat 2023-07-25 16:09:56 -07:00