masnagam/njtool

View on GitHub
bin/njtool

Summary

Maintainability
Test Coverage
#!/usr/bin/env node

// This file is distributed under the MIT license.
// See LICENSE file in the project root for details.

'use strict';

const program = require('commander');
const packageJson = require('../package.json');

program
  .version(packageJson.version)
  .description(packageJson.description)
  .command('scrape', 'Scrape metadata in journal pages, and output as JSON')
  .command('download', 'Download PDF files of articles')
  .parse(process.argv);