Skip to content

helioricardo/driven-occ

Repository files navigation

driven-occ

CLI to manage OCC development at Driven.cx

How does it work?

Install

npm i helioricardo/driven-occ
npx docc -s

Using

Environment Commands

Config an enviroment

npx docc -e config

Change the enviroment

npx docc -e change

Get the current enviroment

npx docc -e current

DCU Commands

Grabing the current environment data

npx docc -g

Starts Watcher + Browsersync. - Note: Click here to see how configure Browsersync.

npx docc -d

Creates widget or element. - Options: widget, element.

npx docc -c <type>

Ps.: You need DesignCodeUtility in the root folder.

Starts the Server-side Extension Manager. - Options: download, upload, transfer

npx docc -x <operation>

Refreshing a path from the current environment

npx docc -r <path>

path is relative to the project root as in widgets/widget/DRV\ Banner

PutAll sends a path to the current environment

npx docc -pa <path>

Put a file to the current environment

npx docc -p <file>

file is relative to the project root as in widgets/global/app.js

Transfer a file between current and target environment

npx docc -t <file>

Transfer the entire path between current and target environment. Used to CI/CD deploys

npx docc -ta <path>

What is the goal of this project?

https://github.com/18F/open-source-guide/blob/18f-pages/pages/making-readmes-readable.md

Inspiring

Roadmap

https://trello.com/b/0rtMEjKC/driven-occ