1.0.1 • Published 3 years ago

mediawiki-timestamp v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

mediawiki-timestamp

create and verify OpenTimestamps for MediaWiki exports

oclif

Version Downloads/week License

Usage

$ npm install -g mediawiki-timestamp
$ mwts COMMAND
running command...
$ mwts (-v|--version|version)
mediawiki-timestamp/1.0.1 linux-x64 node-v12.22.3
$ mwts --help [COMMAND]
USAGE
  $ mwts COMMAND
...

Commands

mwts help [COMMAND]

display help for mwts

USAGE
  $ mwts help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

mwts stamp EXPORT

timestamp a MediaWiki ".xml" export

USAGE
  $ mwts stamp EXPORT

ARGUMENTS
  EXPORT  MediaWiki ".xml" export

OPTIONS
  -x, --extended          show extra columns
  --columns=columns       only show provided columns (comma-separated)
  --csv                   output is csv format [alias: --output=csv]
  --filter=filter         filter property by partial string matching, ex: name=foo
  --no-header             hide table header from output
  --no-truncate           do not truncate output to fit screen
  --output=csv|json|yaml  output in a more machine friendly format
  --sort=sort             property to sort by (prepend '-' for descending)

See code: src/commands/stamp.ts

mwts verify EXPORT RECEIPTS

verify a MediaWiki ".xml" export against a ".ots.json" collection of OpenTimestamps receipts

USAGE
  $ mwts verify EXPORT RECEIPTS

ARGUMENTS
  EXPORT    ".xml" export from MediaWiki
  RECEIPTS  ".xml.ots.json" receipt collection from mwts

OPTIONS
  -x, --extended          show extra columns
  --columns=columns       only show provided columns (comma-separated)
  --csv                   output is csv format [alias: --output=csv]
  --filter=filter         filter property by partial string matching, ex: name=foo
  --no-header             hide table header from output
  --no-truncate           do not truncate output to fit screen
  --output=csv|json|yaml  output in a more machine friendly format
  --sort=sort             property to sort by (prepend '-' for descending)

See code: src/commands/verify.ts