Skip to main content

A command line program in Python for creating flask standard application structure, blueprints and templates.

Project description

## Thermos CLI

A flask command line interface built on python.

## Note

If you wish to collaborate,visit https://github.com/mwangi-njuguna/thermos-cli.


## Prerequisites

Both the CLI and generated project have dependencies that require python3.6.

## Table of Contents

* [Installation](#installation)
* [Usage](#usage)
* [Generating a New Flask Application](#Generating a new flask project)
* [Generating Templates and Blueprints](#Generating templates and blueprints)
* [Documentation](#documentation)
* [License](#license)

## Installation

**BEFORE YOU INSTALL:** please make sure you have python3.6 installed.


```bash
pip install -e .
```

## Usage

```bash
thermos --help
```

### Generating a Flask Project

```bash
thermos create PROJECT-NAME
```

### Generating Templates and Blueprints

You can use the `thermos create app APPNAME` to create a new application structure:

```bash
thermos create template TEMPLATENAME

# Navigate into the new app
cd NAMEOFAPP

# if in the directory src/app/nameofapp/ and you run
thermos create blueprint BLUEPRINTNAME

```

### Working with master

```bash
git clone https://github.com/mwangi-njuguna/thermos-cli.
cd thermos-cli
pip install -e .
```

`pip install -e .` will install this cli.

Now you can use `thermos-cli` via the command line:

```bash

thermos create

thermos -h | --help

thermos -v | --version

```

## Documentation

The documentation for the thermos CLI is located in this repo's [wiki](https://github.com/gnhkjm/).

## License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

thermos-cli-0.1.0.tar.gz (5.2 kB view details)

Uploaded Source

File details

Details for the file thermos-cli-0.1.0.tar.gz.

File metadata

  • Download URL: thermos-cli-0.1.0.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for thermos-cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e853e0c7b3967fbcb978598edd8c0b59ed58f638fb7f316415664bc656cc70ec
MD5 93909dafbef2f4fe8248e4692dab7a10
BLAKE2b-256 ba824d1d437ecfbe6af2008b604fe89533bd5172da8e454e88facca71a00e0f1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page