Skip to content

cmorten/opine-cli

Deno reading an opinionated book

Opine CLI

Opine's application generator.

Current version Current test status Deno docs PRs are welcome Opine CLI issues Opine CLI stars Opine CLI forks Opine CLI license Opine CLI is maintained Published on nest.land

opine-cli latest /x/ version Minimum supported Deno version opine-cli dependency count opine-cli dependency outdatedness opine-cli cached size


Table of Contents

Installation

$ deno install -f -q --allow-read --allow-write --allow-net --unstable https://deno.land/x/[email protected]/opine-cli.ts

And follow any suggestions to update your PATH environment variable.

Quick Start

The quickest way to get started with Opine is to utilize the Opine CLI to generate an application as shown below:

Create the app:

$ opine-cli --view=ejs hello-deno && cd hello-deno

Start your Opine app at http://localhost:3000/:

$ deno run --allow-net --allow-read --allow-env mod.ts

Command Line Options

This CLI can be further configured with the following command line flags:

-h, --help                      - Show this help.                            
-V, --version                   - Show the version number for this program.  
-v, --view     <engine:string>  - add view <engine> support (ejs|eta)        
-g, --git                       - add .gitignore                             
-f, --force                     - force on non-empty directory     

Contributing

Contributing guide


License

There are several third party modules that have been ported into this module. Each third party module has maintained it's license and copyrights. The only exception is for Express Generator, from which this entire module has been ported, whose license and copyrights are available at EXPRESS_GENERATOR_LICENSE in the root of this repository, and cover all files within the source directory which not been explicitly licensed otherwise.

All modules adapted into this module are licensed under the MIT License.

Opine CLI is licensed under the MIT License.

Icon designed and created by Hannah Morten.