Skip to content

jacobmischka/papers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create yourself a LICENSE.

Installation

npm install -g @jacobmischka/papers

Usage

$ papers -h

  Usage: papers [license name or id] [author name] [year]

  Options:

    -h, --help     output usage information
    -V, --version  output the version number

If license or author not given, attempts to read them from package.json in current directory. If author still not found, attempts to read it from local git config, then global git config. Year defaults to current year.

If you want to specify an argument without specifying a previous argument, you can just enter an empty string for arguments you want to be read from package.json or your git config.

$ papers ISC '' 2016

Inspired by captainsafia's great idea in captainsafia/legit.