mirror of
https://github.com/dolthub/dolt.git
synced 2026-02-15 00:50:22 -06:00
This patch implements evolving support for configuring aliases and defaults for the noms cli (started with #2131) For an introduction, please take a look at the sample code here: https://github.com/attic-labs/noms/blob/master/samples/cli/nomsconfig/README.md Improvements include: - All go samples now work with .nomsconfig - Absolute paths in ldb specs are now properly handled - Add -v|--verbose flag to commands to debug expansion - Make default just another alias and change [default] section to [db.default] - Introduce the `.` shorthand to refer to a previously mentioned dataset/object
HR
This is a small command line application that manages a very simple hypothetical hr database.
Usage
go build
./hr --ds /tmp/my-noms::hr add-person 42 Abigail Architect
./hr --ds /tmp/my-noms::hr add-person 43 Samuel "Chief Laser Operator"
./hr --ds /tmp/my-noms::hr list-persons