1.0.5 • Published 5 years ago
@glamboyosa/create-readmes v1.0.5
CREATE-READMES
CREATE-READMES is a Node.js CLI that adds template READMEs to new projects.
Motivation
Dev Exp. example repos @ tru.ID tend to have a somewhat consistent README file so I felt it necessary to automate the boilerplate away
Tools
- Node.js
- TypeScript
Installation
To install run:
npx @glamboyosa/create-readmes
#or
npm i -g @glamboyosa/create-readmes
#or
npm init @glamboyosa/create-readmesGetting Started
If you want to use the CLI locally, clone this repo via:
git clone https://github.com/glamboyosa/create-readmes.gitRestore dependencies via:
yarn
# or
npm installStart the project via:
cd dist && npm linkFinally, run the command:
create-readmesAdapting for your organization
It is possible, if you're a DXer or DevRel'er you could very well be in the same position and as such need to create your own CLI tool off of this.
Detailed steps to reproduce for your organization are as follows:
- Fork the repository, clone and restore dependencies.
- Update the root package.json file, specifically name,version(set to1.0.0),author&description
- Follow the Getting Startedguide in order to get it up and running.
- Head over to src/cli.ts, line 5, thequestionsarray and update thechoicesanddefaultkeys to values that suit your needs.
- Head over to templatesand update the folder names to reflect the changes in thechoicesfield.
- Publish to npm via npm publish