make-license
Version:
generate a LICENSE for your open source project
18 lines (13 loc) • 389 B
JavaScript
import inquirer from "inquirer";
import makeLicense from "./make-license.js";
console.log("make-license");
const questions = [
{
type: "list",
name: "license",
message: "Choose a License",
choices: [ "MIT", "ISC", "BSD 2", "BSD 3", "Apache 2.0", "GPL-3.0", "UNLICENSE", "NO LICENSE"]
}
];
inquirer.prompt(questions).then(makeLicense);