Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cutwell/readme-template

A template project / CLI tool for creating a README and other files for Python projects on GitHub.
https://github.com/cutwell/readme-template

cli command-line-tool python3 readme-generator readme-template

Last synced: about 1 month ago
JSON representation

A template project / CLI tool for creating a README and other files for Python projects on GitHub.

Awesome Lists containing this project

README

        

# README Template
A template project / CLI tool for creating a README and other files for Python projects on GitHub.

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![PyPI](https://img.shields.io/pypi/v/readme-template-cli)](https://pypi.org/project/readme-template-cli/)

- This project contains templates you can use to write your own `README`, `CONTRIBUTING` and `PULL_REQUEST_TEMPLATE` files.
- It also includes a CLI tool for using these files in your own projects.
- Supports `pip` or `poetry` for dependency management.

[![Demo of the Read Me template command line app. It shows the user inputting their GitHub username and a repository name to generate a set of customised files useful for sharing GitHub projects.](demo.gif)](https://raw.githubusercontent.com/Cutwell/readme-template/main/demo.gif)

## Install

```sh
pip install readme-template-cli
```

## Usage

```sh
readme [-h] [--test] [--force]
```

|Flag|Description|
|:---:|:---:|
|`-h`, `--help`|Show this help message and exit.|
|`--test`|Run in test mode - files created have .test extension. This does not update filename references inside the templates.|
|`--force`|Force overwrite existing files.|

## Run locally

### Install dependencies

If using `pip`:

```sh
pip install -r requirements.txt
```

If using `poetry`:

```sh
poetry install --without dev
```

### Usage

Run the program from the command line (from the project root) like this:

If using `pip`:

```sh
python3 readme_generator/src/generator.py
```

If using `poetry`:

```sh
poetry run readme
```

## Contributing

For information on how to set up your dev environment and contribute, see [here](.github/CONTRIBUTING.md).

## License

MIT