mediawiki-timestamp
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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

Package Sidebar

Install

npm i mediawiki-timestamp

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

32.4 kB

Total Files

24

Last publish

Collaborators

  • cfmyers