{"id":19865046,"url":"https://github.com/glweems/gen-license","last_synced_at":"2026-05-11T13:02:14.531Z","repository":{"id":57245838,"uuid":"446118593","full_name":"glweems/gen-license","owner":"glweems","description":"CLI Tool to generate license files","archived":false,"fork":false,"pushed_at":"2022-01-09T20:08:44.000Z","size":64,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-09T06:46:55.813Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/glweems.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-01-09T14:54:30.000Z","updated_at":"2022-01-09T20:08:46.000Z","dependencies_parsed_at":"2022-08-24T16:43:43.847Z","dependency_job_id":null,"html_url":"https://github.com/glweems/gen-license","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/glweems/gen-license","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glweems%2Fgen-license","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glweems%2Fgen-license/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glweems%2Fgen-license/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glweems%2Fgen-license/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/glweems","download_url":"https://codeload.github.com/glweems/gen-license/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glweems%2Fgen-license/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32895978,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-10T13:40:02.631Z","status":"online","status_checked_at":"2026-05-11T02:00:05.975Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T15:20:46.980Z","updated_at":"2026-05-11T13:02:14.509Z","avatar_url":"https://github.com/glweems.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-command-line-starter\nProgammers are lazy. As soon as we have to do the same task over and over again we start on automizing it.\nAutomization is often done in the form of a command line utility.\n\n[![node-command-line-starter image](https://i.ibb.co/VjzD8bF/nodecommandlinestarter-project-setup-5c7a49.jpg)](https://imgbb.com/)\n\nThis starter provides you with all the necessary setup to quickly create your node-command-line utility. Focus on your util and don't loose time with\nthe project setup.\n\nThe starter provides you with a setup to perform fully automated releases with Travis. Publish new versions quickly and automated to your npm repositiory. If this is\nnew to you, you may want to read my blog-post about [The way to fully automated releases in open source projects](https://medium.com/@kevinkreuzer/the-way-to-fully-automated-releases-in-open-source-projects-44c015f38fd6)\n\n## What's included?\n\n### Language\nThis starter allows you to write your command line util in TypeScript. 💪 \n\n### Testing\n- [Jest](https://jestjs.io/) - JavaScript Testing Framework\n- Jest configurations to mock third party libaries\n- Sample tests\n\n### Command line utils\n- [Commander](https://github.com/tj/commander.js) - Complete solution for node.js command-line interfaces.\n- [Chalk](https://github.com/chalk/chalk) - Terminal string styling\n- [Boxen](https://github.com/sindresorhus/boxen#readme) - Create boxes in terminal\n\n### Dev utilities\n- [Prettier](https://prettier.io/) - Code formater\n- [Commitizen](https://github.com/commitizen/cz-cli) Util that helps to create conventional commit messages\n- [Commitlint](https://github.com/conventional-changelog/commitlint) Lint your commit messages to ensure you use conventional commits\n- [Husky](https://github.com/typicode/husky) and [Lint-staged](https://github.com/okonet/lint-staged) to run prettier on each commit on staged files. Husky is also used to run commitlint on a commit.\n\n### Build tools\n- [Codecov](https://codecov.io/) - Integration to upload your coverage report to codecov\n- [Travis](https://travis-ci.org/) - Sample travis file with all the necessary build steps\n- [SemanticRelease](https://github.com/semantic-release/semantic-release) - All the setup to use semantic release. Publish your command line utility to npm by using conventional commits\n\n## Folder structure\n\n|__ **__mocks__** Folder that contains the mocks for third party libraries\n\n|__ **bin** contains your file with the commander instructions - this is the entry to your command line tool\n\n|__ **src** contains your implementation and the logic - is called by the file in your bin folder\n\n## Getting started\n\n### Development\n1. Fork this repo\n2. Adjust the URLs and names in package.json\n3. Adjust the files in bin, src and __mocks__\n4. Adjust the bin command in package.json\n\n### Setup CI (Travis)\n1. Go to https://travis-ci.org/ and sign up with your Github account. Accept the Authorizaiton of GitHub. Activate Travis for your repository.\n2. The starter allready contains a .travis.yml file that will be interpreted up by travis.\n\n### Setup npm account\nSign up on https://www.npmjs.com/.\n\n### Setup using semantic-release-cli\n```\nnpm install -g semantic-release-cli\n\ncd your-module\nsemantic-release-cli setup\n```\nEnter the required informations. The CLI will do the setup and add the necessary tokens to your Travie repository settings.\n\n### Visualize coverage\nTo visualize coverage just sign up on https://codecov.io/.\nGo to Settings and copy the token. Add this token as CODECOV_TOKEN to your travis repository settings.\n\n### Merge your feature branch into master\nUse conventional commit messages for your commits. A merge on master\nwill then analyze the commits, automatically bump the version, create\nthe release assets and then publish the package.\n\n## Play around with the example\nIf you are curious about how this example is used, just try it out. Open up a terminal\nand run:\n```\nnpx node-command-line-starter pizza beer\n```\nwhich will output the following:\n```                    _\n  _   _  ___  _   _ _ __    ___  _ __ __| | ___ _ __\n | | | |/ _ \\| | | | '__|  / _ \\| '__/ _` |/ _ \\ '__|\n | |_| | (_) | |_| | |    | (_) | | | (_| |  __/ |\n  \\__, |\\___/ \\__,_|_|     \\___/|_|  \\__,_|\\___|_|\n  |___/\n\n   ╭─────────────────────────────────────────────╮\n   │                                             │\n   │   You ordered the following food:  pizza    │\n   │   You ordered the following drink:  beer    │\n   │                                             │\n   ╰─────────────────────────────────────────────╯\n```\nadditionally the starter example also allows you to use a -w option followed\nby a filename. In case you do so, your order is written to the file you specified.\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglweems%2Fgen-license","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fglweems%2Fgen-license","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglweems%2Fgen-license/lists"}