Changelog
Retrieves the changelog for a monograph
Usage
Description
The npx wgc monograph changelog
command allows you to retrieve the changelog for a given monograph. By default it fetches the latest 10 schema versions from the past 3 days and writes to changelog.json file.
Parameters
<name>
: The name of the monograph you want to create. Replace<name>
with the name of your monograph.
Options
-n, --namespace
: The namespace of the monograph (Default: "default").
-l, --limit
: The number of entries to fetch. Defaults to 10.
-f, --offset
: Used for pagination. Sets the offset from which you want to query.
-s, --start
: The start date in MM-DD-YY
format. Defaults to 3 days ago from current date.
-e, --end
: The end date in MM-DD-YY
format. Defaults to today.
-o, --out
: The destination file for the json output. Defaults to changelog.json
Examples
Fetch first 10 changes from 8th August to 31st August for the graph production
and write it to changes.json
file.
Fetch the next 10 changes (after the ones in the previous example) from 8th August to 31st August for the graph production
and write it to changes.json
file.
Sample output
Last updated