Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yugenpartners/mediawiki-timestamp

create and verify OpenTimestamps for MediaWiki exports
https://github.com/yugenpartners/mediawiki-timestamp

mediawiki oclif opentimestamps

Last synced: about 1 month ago
JSON representation

create and verify OpenTimestamps for MediaWiki exports

Awesome Lists containing this project

README

        

# mediawiki-timestamp

create and verify OpenTimestamps for MediaWiki exports

[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)

[![Version](https://img.shields.io/npm/v/mediawiki-timestamp.svg)](https://npmjs.org/package/mediawiki-timestamp)
[![Downloads/week](https://img.shields.io/npm/dw/mediawiki-timestamp.svg)](https://npmjs.org/package/mediawiki-timestamp)
[![License](https://img.shields.io/npm/l/mediawiki-timestamp.svg)](https://github.com/yugenpartners/mediawiki-timestamp/blob/master/package.json)

* [mediawiki-timestamp](#mediawiki-timestamp)
* [Usage](#usage)
* [Commands](#commands)

# Usage

```sh-session
$ npm install -g mediawiki-timestamp
$ mwts COMMAND
running command...
$ mwts (-v|--version|version)
mediawiki-timestamp/0.0.0-development darwin-x64 node-v14.17.3
$ mwts --help [COMMAND]
USAGE
$ mwts COMMAND
...
```

# Commands

* [`mwts help [COMMAND]`](#mwts-help-command)
* [`mwts stamp EXPORT`](#mwts-stamp-export)
* [`mwts verify EXPORT RECEIPTS`](#mwts-verify-export-receipts)

## `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](https://github.com/oclif/plugin-help/blob/v3.2.2/src/commands/help.ts)_

## `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](https://github.com/yugenpartners/mediawiki-timestamp/blob/v0.0.0-development/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](https://github.com/yugenpartners/mediawiki-timestamp/blob/v0.0.0-development/src/commands/verify.ts)_