• Stars
    star
    250
  • Rank 162,397 (Top 4 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 5 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

💻🔥CLI to generate the recommended documentation/files to improve contribution (Github, Gitlab, CodeCommit and Bitbucket)

CGX - 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 and Gitlab community standards. Files for CodeCommit (AWS) or Bitbucket can be generated too. This project has 99+% type coverage checked by tscov.

Generate multiple files at once

Generate a license

Files that can be generated

More files & providers in future versions.

Github, Gitlab, CodeCommit and Bitbucket

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

Github specific

  • Bug report (issue)
  • Security vulnerability report
  • Feature request (issue)
  • Pull request template
  • CodeQL Analysis
  • Node CI
  • All files at once

Gitlab specific

  • CI template
  • Bug (issue)
  • Feature proposal (issue)
  • Merge request
  • All files at once

CodeCommit specific

  • Buildspec (AWS CodeBuild)
  • Appspec (AWS CodeDeploy)
  • All files at once

Bitbucket specific

  • In future versions

Useful for every project

  • Existing or new
  • Large or small
  • Every language
  • Github, Gitlab, CodeCommit (AWS) or Bitbucket

Quickstart

Install the CGX CLI as a global CLI.

npm install -g cgx

cd <your-repo-location>

# Then you run
cgx

Or just use via npx:

cd <your-repo-location>

# Then you run
npx cgx

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

Example

Generate all Github files example:

   ____    ____  __  __
  / ___|  / ___| \ \/ /
 | |     | |  _   \  /
 | |___  | |_| |  /  \
  \____|  \____| /_/\_\

Generate all the recommended markdown documentation/templates for the Github and Gitlab community standards.  
Files for CodeCommit (AWS) or Bitbucket can be generated too
? Select a Git hosting provider: Github
? Which Github files do you want to generate? All recommended files (other files can be generated separate)
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 .github/ISSUE_TEMPLATE/bug_report.md
CREATE: CODE_OF_CONDUCT.md.md
CREATE: CONTRIBUTING.md
CREATE: feature_request.md in .github/ISSUE_TEMPLATE/feature_request.md
CREATE: pull_request_template.md in .github/PULL_REQUEST_TEMPLATE/pull_request_template.md

Git provider question:

? Select a Git hosting provider: (Use arrow keys)
❯ Github
  Gitlab
  CodeCommit (AWS)
  Bitbucket

Generate file question:

? Which Gitlab files do you want to generate? (Use arrow keys)
❯ All recommended files (other files can be generated separate)
  License
  Changelog
  Code of conduct
  Contributing
  Bug report (issue)
  Feature request (issue)
  Pull request template
  Readme
  Todo
  Dockerfile

Generate license example:

? Select a Git hosting provider: Github
? Which Gtihub 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: Jeroenouw
CREATE: LICENSE

File already exists example:

? Select a Git hosting provider: Bitbucket
? Which Bitbucket files do you want to generate? Contributing
GENERATE: CONTRIBUTING.md...
? This file already exists. Do you want to overwrite it? Yes
UPDATE: CONTRIBUTING.md

More Repositories

1

AngularMaterialFirebase

🔥 Full stack starter app with Angular 8, Material Design and Firebase (+ demo)
TypeScript
228
star
2

AngularAI

💬 Angular 6 AI (localhost version is working correctly)
TypeScript
48
star
3

ExampleCLI

Example TypeScript CLI with Node.js
JavaScript
37
star
4

liftr-tscov

Check the type coverage of any TypeScript project with this easy npm package
TypeScript
31
star
5

dart-compared-to-typescript

Examples for Dart code compared to TypeScript code
21
star
6

liness

💻🔥CLI to calculate the amount of lines used in your current project
TypeScript
13
star
7

AngularMaterialGo

Full stack starter app with Angular 6, Material Design and Go
TypeScript
7
star
8

AngularREST

Angular REST API example with RxJS observables
TypeScript
6
star
9

HyperledgerFabricAngular

Distributed ledger platform with Hyperledger and Angular 5
TypeScript
6
star
10

flutter-social

🎯Flutter Dart native app
Dart
5
star
11

TypescriptWorkshop

Beginner & advanced
5
star
12

EmbarkAngularStarter

Đapp with Embark and Angular 4 (In progress)
TypeScript
3
star
13

Angular4SimpleToDo

Simple to do app, made with Angular and Material design
TypeScript
3
star
14

AngularIonic

Angular Ionic mobile application with REST API
TypeScript
3
star
15

baretest-ts

Use this minimalistic JavaScript test runner now in a TypeScript project
TypeScript
3
star
16

AngularGolang

TypeScript
2
star
17

BlockchainGO

Blockchain Proof-Of-Work with IPFS
Go
2
star
18

AngularWorkshopCompeta

Share component data with other components
TypeScript
1
star
19

DotNetCoreAngular

.NET Core combined with Angular application
TypeScript
1
star
20

solcli

💻 Ultimate cli for Solidity projects
TypeScript
1
star