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.
- Host: GitHub
- URL: https://github.com/a-poor/ds-create
- Owner: a-poor
- License: gpl-3.0
- Created: 2020-07-04T04:34:54.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-10-11T18:26:50.000Z (over 5 years ago)
- Last Synced: 2025-03-26T06:35:57.761Z (about 1 year ago)
- Topics: cli, pypi-package, python, template
- Language: Python
- Homepage: https://pypi.org/project/ds-create/
- Size: 36.1 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ds-create
[](https://pypi.org/project/ds-create/)
[](https://pypi.org/project/ds-create/)
[](https://pypi.org/project/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
```