From 095c1a8c06f2792f4ba9d09fc5000a9f04a57054 Mon Sep 17 00:00:00 2001 From: Sascha Adler Date: Mon, 22 Feb 2021 13:46:04 -0330 Subject: [PATCH] v2.0.0-alpha.2 --- CHANGELOG.md | 5 +++++ package.json | 2 +- src/options.js | 10 ++++++++++ 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 89c55d4..fbfd3b2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## [2.0.0-alpha.2] - 2021-02-22 + +- `kivik validate` positional arguments are saved + ## [2.0.0-alpha.1] - 2021-02-19 - `kivik inspect` actually deploys Couch config @@ -74,6 +78,7 @@ - Multiple design document support - View (map/reduce) and update function support within design documents +[2.0.0-alpha.2]: https://github.com/crkn-rcdr/kivik/releases/tag/v2.0.0-alpha.2 [2.0.0-alpha.1]: https://github.com/crkn-rcdr/kivik/releases/tag/v2.0.0-alpha.1 [2.0.0-alpha.0]: https://github.com/crkn-rcdr/kivik/releases/tag/v2.0.0-alpha.0 [1.3.0]: https://github.com/crkn-rcdr/kivik/releases/tag/v1.3.0 diff --git a/package.json b/package.json index 7ee0985..e012575 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "kivik", - "version": "2.0.0-alpha.1", + "version": "2.0.0-alpha.2", "description": "An opinionated library and command-line utility for configuration CouchDB endpoints, databases, and design documents", "keywords": [ "couchdb" diff --git a/src/options.js b/src/options.js index a4f21e8..9fd388c 100644 --- a/src/options.js +++ b/src/options.js @@ -10,6 +10,11 @@ const options = { describe: "Key to load a config object for this invocation of kivik in your kivikrc file.", }, + database: { + type: "string", + hidden: true, + describe: "The database whose schema will be validated against a document", + }, deployFixtures: { type: "boolean", default: false, @@ -21,6 +26,11 @@ const options = { hidden: true, describe: "Path to the root directory containing Kivik configuration.", }, + document: { + type: "string", + hidden: true, + describe: "The document to validate against a database's schema", + }, exclude: { type: "string", array: true,