Ghee/example_output

70 lines
2.7 KiB
Text
Raw Normal View History

2023-08-25 00:55:43 +02:00
+ mkdir people
+ touch ./people/Sandeep ./people/Sofia ./people/Wulfrum
2023-09-18 00:01:00 +02:00
+ cargo run --quiet -- set -s name=Sandeep -s id=2 -s state=CA ./people/Sandeep
+ cargo run --quiet -- set -s name=Sofia -s id=1 -s state=WA ./people/Sofia
+ cargo run --quiet -- set -s name=Wulfrum -s id=0 -s state=CA ./people/Wulfrum
+ cargo run --quiet -- init -k name ./people
+ cargo run --quiet -- idx -v -k id ./people ./people:id
2023-08-25 00:56:28 +02:00
./people/Sandeep -> ./people:id/2
./people/Sofia -> ./people:id/1
./people/Wulfrum -> ./people:id/0
2023-09-18 00:01:00 +02:00
+ cargo run --quiet -- idx -v -k state -k id ./people
2023-08-25 00:56:28 +02:00
./people/Sandeep -> ./people/:state:id/CA/2
./people/Sofia -> ./people/:state:id/WA/1
./people/Wulfrum -> ./people/:state:id/CA/0
2023-09-18 00:01:00 +02:00
+ cargo run --quiet -- ins -v ./people
2023-08-25 00:55:43 +02:00
Initialized ./people/Janella
2023-08-25 00:56:28 +02:00
Linked ./people:id/3 -> ./people/Janella
Linked ./people/:state:id/FL/3 -> ./people/Janella
2023-08-25 00:56:28 +02:00
Initialized ./people/Lilly
Linked ./people:id/4 -> ./people/Lilly
Linked ./people/:state:id/NM/4 -> ./people/Lilly
2023-08-25 00:56:28 +02:00
Initialized ./people/Darrel
Linked ./people:id/5 -> ./people/Darrel
Linked ./people/:state:id/MI/5 -> ./people/Darrel
2023-09-18 00:01:00 +02:00
+ cargo run --quiet -- get -a ./people
user.ghee.tableinfo {"key":"name","indices_abs":{"id":"/home/josh/Projects/Ghee/example/people:id","name":"/home/josh/Projects/Ghee/example/people","state,id":"/home/josh/Projects/Ghee/example/people/:state:id"}}
./people/Darrel user.id 5
./people/Darrel user.name Darrel
./people/Darrel user.state MI
./people/Janella user.id 3
./people/Janella user.name Janella
./people/Janella user.state FL
./people/Lilly user.id 4
./people/Lilly user.name Lilly
./people/Lilly user.state NM
./people/Sandeep user.id 2
./people/Sandeep user.name Sandeep
./people/Sandeep user.state CA
./people/Sofia user.id 1
./people/Sofia user.name Sofia
./people/Sofia user.state WA
./people/Wulfrum user.id 0
./people/Wulfrum user.name Wulfrum
./people/Wulfrum user.state CA
2023-09-18 00:01:00 +02:00
+ cargo run --quiet -- get -a -w state=CA -f name ./people
2023-08-31 02:11:53 +02:00
./people/Wulfrum user.name Wulfrum
./people/Sandeep user.name Sandeep
2023-09-18 00:01:00 +02:00
+ cargo run --quiet -- del -v ./people -w name=Sofia
Removed ./people:id/1
Removed ./people/Sofia
Removed ./people/:state:id/WA/1
2023-09-18 00:01:00 +02:00
+ cargo run --quiet -- del -v ./people:id 3
2023-08-25 00:56:28 +02:00
Removed ./people:id/3
Removed ./people/Janella
2023-09-21 00:02:52 +02:00
Removed ./people/:state:id/FL/3
2023-09-18 00:01:00 +02:00
+ cargo run --quiet -- del -v ./people/:state:id CA 0
2023-09-21 00:02:52 +02:00
Removed ./people:id/0
2023-08-25 00:56:28 +02:00
Removed ./people/Wulfrum
Removed ./people/:state:id/CA/0
2023-09-18 00:01:00 +02:00
+ cargo run --quiet -- get -a -w state=CA -f name ./people/:state:id
2023-08-25 00:55:43 +02:00
./people/:state:id/CA/2 user.name Sandeep
2023-09-18 00:01:00 +02:00
+ cargo run --quiet -- create -v ./direct -k blah
Initialized table ./direct with key: user.blah
2023-09-18 00:01:00 +02:00
+ cargo run --quiet -- create -v ./people2 -k id
Initialized table ./people2 with key: user.id
Initialized ./people2/3
Initialized ./people2/4
Initialized ./people2/5
2023-08-25 00:55:43 +02:00
+ cd ..