stagedive 0.0.1 stagedive: ^0.0.1 copied to clipboard
StageDive creates a template-based project for you
StageDive - Template-Base project generator #
Use your own variables for your templates #
Install #
Install
pub global activate stagedive
Update
# activate stagedive again
pub global activate stagedive
Uninstall
pub global deactivate stagedive
Usage #
Usage: stagedive [options]
-s, --settings Prints settings
-h, --help Shows this message
-l, --list List available templates
-d, --dir Target folder
-v, --loglevel Sets the appropriate loglevel
[info, debug, warning]
stagedive -l
- Scans your packages folder for _template subfolders.
If it finds a _template folder it scans for subfolders with manifest.yaml.
At the moment the only packages that has a _template folder is StageDive but you
can define your own _templates in your package.
Try stagedive -d example/console packages/stagedive/_templates/console/
This command will prompt you for your name and your email address.
StageDive creates the appropriate sample in example/console.
StageDive takes all variables defined in the manifest.yaml and replaces the according template fields.
File-Content-Format: <%= varname %>
File-Name-Format: {varname}
License #
Copyright 2015 Michael Mitterer (office@mikemitterer.at),
IT-Consulting and Development Limited, Austrian Branch
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
either express or implied. See the License for the specific language
governing permissions and limitations under the License.
If this plugin is helpful for you - please (Circle) me or star this repo here on GitHub.