0.6.1 • Published 1 year ago

md-generator v0.6.1

Weekly downloads
38
License
MIT
Repository
github
Last release
1 year ago

CLI tool which bootstraps Development by creating "ALL" required .md files to meet "community standards".

Table of Contents

Project Overview

md-generator was created to reduce the time spent creating .md files while trying to set up projects. Hence, bootstrapping development with ALL desired md files in line with proven community standards.

Features

  • provides interactive file creation
  • provides default templates in all created files (which could be further customized)
  • checks if the minimum community standard is met and recommends the minimum required .md files
  • provides bulk removal of specified .md files
  • provides bulk creation of .md files
  • optional --empty argument to make created files empty if preferred so
  • optional --required to create/check/list only all files needed to meet the minimum community standard

Installation

npm install md-generator or globally using npm install -g md-generator

  • you can interact with the package from the npm registry using npx md-generator [command] [options]

Supported Files

Required

  • README.md
  • LICENSE
  • CODE_OF_CONDUCT.md
  • PULL_REQUEST_TEMPLATE.md
  • CONTRIBUTING.md
  • bug_report.md
  • feature_request.md

Optional

  • CHANGELOG.md
  • SUPPORT.md
  • CONTRIBUTORS.md
  • AUTHORS.md
  • ACKNOWLEDGMENTS.md
  • CODEOWNERS.md

Usage

install globally using

  • npm : npm i -g md-generator
  • yarn : yarn add -g md-generator

Trigger md-generator using

  • md-generator [parent-options]
  • md-generator [commands] [command-options] [file names]

Parent Options:

OptionFunction
-V, --versionOutput the version number
-h, --helpOutput usage information

Commands:

CommandFunction
list [options] [File Names]List All Required/optional .md files
create [options] [File Names]Create All/specific files
check [options] [File Names]Checks codebase for the availability of All/Specific .md files
remove [options] [File Names]Remove All/specific .md files

Command-Options :

Command OptionFunction
-A, --allOperate on all required/optional .md files
-F, --fileOperate on specific .md files
-E, --emptymake added files empty
-R --requiredOperate on required files
-O --optionalOperate on optional files

Note:

  • File Names can be with/without the file extension
  • multiples File Names should be separated with spaces ie --file "README.md CONTRIBUTING.md".

Demo

Cli CommandFunction
md-generator --helpdisplays help (all available command and option)
md-generator listlists all supported .md files
md-generator list --optionallists all supported optional .md files
md-generator list --requiredlists all required .md files to meet community standard
md-generator checkchecks code base for existing/missing supported .md files
md-generator check --requiredchecks code base for existing/missing required .md files
md-generator check --optionalchecks code base for existing/missing optional .md files
md-generator createInteractively Generates all desired files
md-generator create --file "file1.md file2.md ..."Creates the supplied files
md-generator create --file "file1 file2 ..." --emptycreates supplied files with no template
md-generator create --requiredInteractively create required .md files
md-generator create --optionalInteractively create optional .md files
md-generator removeInteractively deletes all desired .md files
md-generator remove --file "file1 file2 ..."Interactively deletes all specified .md files

Known issues

No known issues at the moment. However, issues can be raised when such is noticed

Contributing

Feel free to contribute and kindly go through the Pull Request guide, and contributing.md file

Contributors

Thanks goes to these wonderful people (emoji key):

This project follows the all-contributors specification. Contributions of any kind are welcome!

License

GitHub


This File was generated by md-generator

0.5.4

1 year ago

0.5.3

1 year ago

0.5.6

1 year ago

0.5.5

1 year ago

0.6.1

1 year ago

0.6.0

1 year ago

0.5.2

1 year ago

0.5.1

1 year ago

0.5.0

4 years ago

0.4.0

4 years ago

0.3.0

4 years ago

0.2.9

4 years ago

0.2.8

4 years ago

0.2.7

5 years ago

0.2.6

5 years ago

0.2.5

5 years ago

0.2.4

5 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago