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

https://github.com/a-poor/ds-create

A simple CLI program (inspired by create-react-app) for creating program templates.
https://github.com/a-poor/ds-create

cli pypi-package python template

Last synced: about 1 year ago
JSON representation

A simple CLI program (inspired by create-react-app) for creating program templates.

Awesome Lists containing this project

README

          

# ds-create

[![PyPi version](https://img.shields.io/pypi/v/ds-create)](https://pypi.org/project/ds-create/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/ds-create)](https://pypi.org/project/ds-create/)
[![PyPI - License](https://img.shields.io/pypi/l/ds-create)](https://pypi.org/project/ds-create/)
[![GitHub repo size](https://img.shields.io/github/repo-size/a-poor/ds-create)](https://img.shields.io/github/repo-size/a-poor/ds-create)

_created by Austin Poor_

A simple CLI program (inspired by _create-react-app_) for creating program templates.

## To Install

```bash
pip install ds-create
```

## To Run

Instructions are formatted as follows:

```bash
ds-create [command] -n [template-name]
```

List of commands:
* `snap`: save a new template
* `create`: extract template contents
* `update`: update template
* `delete`: delete template
* `list`: list templates or list template contents

### List Templates

List all templates:

```bash
ds-create list
```

List info for template `app-template`:

```bash
ds-create list -n app-template
```

### Save a Template

To save the current directory as a new template called `app-template`, run the following:

```bash
ds-create snap -n app-template
```

### Create from Template

Extract the contents of `app-template` in the current directory:

```bash
ds-create create -n app-template
```

### Update from Template

Update the contents of `app-template` in the current directory:

```bash
ds-create update -n app-template
```

### Delete a Template

Delete template `app-template`:

```bash
ds-create delete -n app-template
```

Delete all templates (you'll be prompted for confirmation):

```bash
ds-create delete
```