0.2.4 • Published 9 years ago
aura-util v0.2.4
Aura-Util
Aura-util is a CLI, that's supposed to speed up and simplify the dev process at E.ON aura.
Installation
$ npm i aura-util [-g]Quick Start
The recommended use of aura-util is putting all aura microservice bundles into one big repo creating a structure like:
E.g.:
~/aura/eon-aura-app-webpack && ~/aura/eon-aura-bundle-${bundleName}and use the aura command from the root dir "~/aura"
Commands
Start the Front-End server:
$ aura startCopy a bundle from Webpack-bundle and push it right away to git. You can use the commit message (--message, -m) option
$ aura cp ${bundleName} -m '${commitMessage}'Make a clean npm install of whatever bundle:
$ aura clean ${bundleName}OR
Get CLI default functions:
$ aura defaultThen choose one of the bundles:
$ => General app-webpack
$ authenticaton
$ contact
...And a command:
$ Copy Bundle from App-Webpack
$ => Push Bundle
$ Copy, commmit, push Bundle
...