CLI / oroc init

oroc init

Create a new project. If the path is not provided, the new project will be created in the current directory.

Usage#

oroc init [options] [<project-dir>]

Options#

Option Description
-C, --config only create the config file
-n, --name=<name> project name
-V, --verbose enable verbose output
--log-file=<path> mirror logs to a JSON file
-h, --help show help

Notes#

By default this command creates a starter oro.toml, src/index.html, src/index.js, src/serviceworker.js, and .gitignore.

Use --config when you only want the config scaffold without the example app files.

Examples#

oroc init my-app

create a new starter project in ./my-app

oroc init --config

write only the default oro.toml into the current directory

Source repository · Edit this page · View Markdown

Quick links

Type to search across the site. Use the up and down arrow keys to choose a result, Enter to open it, and Escape to close.