daisy-cli
Generate all the recommended markdown documentation/templates (pre-filled) for the Github community standards
Last updated 3 months ago by jsonruhls .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install daisy-cli 
SYNC missed versions from official npm registry.

Daisy-CLI - CLI to Generate recommended documentation/files to improve contribution

npmversion npmlicense downloads

Do you want people to contribute to your project? Make it easy for your contributors. Generate all the recommended documentation/files (pre-filled) for the Github community standards. This project has 100% type coverage checked by tscov.

Files that can be generated

More files & providers in future versions.

Github

  • License
    • MIT
    • ISC
    • Apache 2.0
    • BSD 2-Clause
    • GPLv3
  • Changelog
  • Contributing
  • Readme
  • Todo
  • Code of Conduct

Github specific

  • Bug report (issue)
  • Feature request (issue)
  • Pull request template
  • All files at once

Useful for every project

  • Existing or new
  • Large or small
  • Every language
  • Github

Quickstart

Install the Daisy CLI as a global CLI.

npm install -g daisy-cli

cd <your-repo-location>

# Then you run
daisy-cli

Or just use via npx:

cd <your-repo-location>

# Then you run
npx daisy-cli

This should start the CLI and ask for questions about which files you want to add!

Example

Generate all Github files example:

      _           _                                _   _
   __| |   __ _  (_)  ___   _   _            ___  | | (_)
  / _` |  / _` | | | / __| | | | |  _____   / __| | | | |
 | (_| | | (_| | | | \__ \ | |_| | |_____| | (__  | | | |
  \__,_|  \__,_| |_| |___/  \__, |          \___| |_| |_|
                            |___/

Generate all recommended markdown documentation/templates for the Github community standards
? Select a Git hosting provider: Github
? Which files do you want to generate? All main files (without license, todo and readme)
INFO: Start generating all recommended files...

GENERATE: CODE_OF_CONDUCT.md...
GENERATE: CONTRIBUTING.md...
GENERATE: bug_report.md...
GENERATE: feature_request.md...
GENERATE: pull_request_template.md...
CREATE: bug_report.md in <path-to-folder>/.github/ISSUE_TEMPLATE/bug_report.md
CREATE: CODE_OF_CONDUCT.md in <path-to-folder>/CODE_OF_CONDUCT.md.md
CREATE: CONTRIBUTING.md in <path-to-folder>/CONTRIBUTING.md
CREATE: feature_request.md in <path-to-folder>/.github/ISSUE_TEMPLATE/feature_request.md
CREATE: pull_request_template.md in <path-to-folder>/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md

Git provider question:

? Select a Git hosting provider: (Use arrow keys)
❯ Github

Generate file question:

? Which files do you want to generate? (Use arrow keys)
❯ All main files (without license, todo and readme)
  License
  Changelog
  Code of conduct
  Contributing
  Bug report (issue)
  Feature request (issue)
  Pull request template

Generate license example:

? Select a Git hosting provider: Github
? Which files do you want to generate? License
GENERATE: LICENSE...
? Which type of license do you want to generate? MIT License
? Please fill in your Git username: jsonruhls
CREATE: LICENSE in <path-to-folder>/LICENSE

File already exists example:

? Select a Git hosting provider: Github
? Which Github files do you want to generate? Contributing
GENERATE: CONTRIBUTING.md...
? This file already exists. Do you want to overwrite it? Yes
UPDATE: CONTRIBUTING.md in <path-to-folder>/CONTRIBUTING.md

Current Tags

  • 0.0.16                                ...           latest (3 months ago)

17 Versions

  • 0.0.16                                ...           3 months ago
  • 0.0.15                                ...           3 months ago
  • 0.0.14                                ...           3 months ago
  • 0.0.13                                ...           3 months ago
  • 0.0.12                                ...           3 months ago
  • 0.0.11                                ...           3 months ago
  • 0.0.10                                ...           3 months ago
  • 0.0.9                                ...           3 months ago
  • 0.0.8                                ...           3 months ago
  • 0.0.7                                ...           3 months ago
  • 0.0.6                                ...           3 months ago
  • 0.0.5                                ...           3 months ago
  • 0.0.4                                ...           3 months ago
  • 0.0.3                                ...           3 months ago
  • 0.0.2                                ...           3 months ago
  • 0.0.1                                ...           3 months ago
  • 0.0.0                                ...           3 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 20
Dependencies (19)
Dev Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |