1.6.0 • Published 4 years ago

license-maker-cli v1.6.0

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

license-maker-cli

A simple command line tool to generate license and prepend license notices to the project files.

Usage

npx license-maker-cli <options>

Options
    --program-description
        One line to give the program's name and a brief idea of what it does.
        Default value is empty

    --author
        Author of the program. This value is used in the license notice.
        Default value is os username.

    --year
        Year of copyright. Default value is current year

    --dir
        The program directory to add license notices.
        Default value is current directory

    --license
        The license type to apply. This defaulted to AGPL and can not change at the moment.

    --exclude
        A pattern to exclude files

    --skip-license-generation
        Skips license generation step
    
    --skip-notice-generation
        Skips license notice generation step

Requirements

  • Lated version of node which supports ES modules
  • Tested on node version v13.5.0

Supported Licenses

Supported Files

All files except the ones listed below will be ignored. We are working hard to support more file types. Feel free to contribute.

  • Java
  • Ruby
  • Javascript
  • html
  • rhtml
  • erb
  • rxml
  • rabl
  • sh

Running locally

  • Clone the repository
  • Run npm link from the repository
  • Run license-maker-cli with the required options

Upcoming

  • Add more license notices
  • Add more licenses
1.5.3

4 years ago

1.5.2

4 years ago

1.6.0

4 years ago

1.5.1

4 years ago

1.5.0

4 years ago

1.4.1

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago