movie-draft-cli

Get the data of a list of Box Office Mojo's movies through the command-line

Usage no npm install needed!

<script type="module">
  import movieDraftCli from 'https://cdn.skypack.dev/movie-draft-cli';
</script>

README

movie-draft-cli

Get the data of a list of Box Office Mojo's movies through the command-line.

npm version Build Status Test Coverage

Install

npm install --global movie-draft-cli

Usage

Get the data of a list of Box Office Mojo's movies through the command-line.

Specify a file to read as an argument. It has to be a (CommonJS) .js file or a .json file.

The contents of the file should be the same you pass into the movie-draft package.

Examples

Given a example1.js:

module.exports = [ "pulpfiction.htm", "returnoftheking.htm" ];

You would run:

movie-draft example1.js

Given a example2.json:

[ "pulpfiction.htm", "returnoftheking.htm" ];

You would run:

movie-draft example2.json

License

MIT © Alejandro Beltrán