Ghee/example_output
2023-08-24 15:55:43 -07:00

35 lines
2.3 KiB
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

+ mkdir people
mkdir: cannot create directory people: File exists
+ touch ./people/Sandeep ./people/Sofia ./people/Wulfrum
+ ghee set -s name=Sandeep -s id=2 -s state=CA ./people/Sandeep
+ ghee set -s name=Sofia -s id=1 -s state=WA ./people/Sofia
+ ghee set -s name=Wulfrum -s id=0 -s state=CA ./people/Wulfrum
+ ghee init -k name ./people
thread 'main' panicked at 'Error initializing table ./people: Table is already initialized', src/bin/ghee.rs:296:37
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
+ ghee idx -v -k id ./people ./people:id
thread 'main' panicked at 'Could not hard link ./people/Darrel to ./people:id/5: File exists (os error 17)', src/cmd/idx.rs:70:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
+ ghee idx -v -k state -k id ./people
thread 'main' panicked at 'Could not hard link ./people/Darrel to ./people/:state:id/MI/5: File exists (os error 17)', src/cmd/idx.rs:70:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
+ ghee ins -v ./people
Initialized ./people/Janella
thread 'main' panicked at 'Error inserting record(s) into ./people: An IO error occurred: File exists (os error 17)', src/bin/ghee.rs:264:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
+ ghee get -w state=CA -f name ./people
./people/Sandeep user.name Sandeep
./people/Wulfrum user.name Wulfrum
./people/:state:id/CA/2 user.name Sandeep
+ ghee del -v ./people -w name=Sofia
thread 'main' panicked at 'Error deleting record from ./people: An IO error occurred: No such file or directory (os error 2)', src/bin/ghee.rs:278:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
+ ghee del -v ./people:id 3
thread 'main' panicked at 'Could not list xattrs on ./people:id/3: No such file or directory (os error 2)', src/lib.rs:220:29
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
+ ghee del -v ./people/:state:id CA 0
thread 'main' panicked at 'Could not list xattrs on ./people/:state:id/CA/0: No such file or directory (os error 2)', src/lib.rs:220:29
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
+ ghee get -w state=CA -f name ./people/:state:id
./people/:state:id/CA/2 user.name Sandeep
+ cd ..