mirror of
https://codeberg.org/scip/anydb.git
synced 2025-12-16 20:10:59 +01:00
- added man command - added unit tests - fixed import+export file parameters (now -o and -r respectively) - added README + License - added ci pipelines
16 lines
317 B
Plaintext
16 lines
317 B
Plaintext
# setup simple db
|
|
exec anydb -f test.db set foo bar
|
|
|
|
# create backup
|
|
exec anydb -f test.db export -o backup.json
|
|
stdout 'database contents exported to backup.json'
|
|
|
|
# import into new db
|
|
exec anydb -f new.db import -r backup.json
|
|
stdout 'imported.*entries'
|
|
|
|
# check contents
|
|
exec anydb -f new.db list
|
|
stdout foo.*bar
|
|
|