generator-sketchup-extension
v0.1.2
Published
SketchUp Ruby Extension Generator for Yeoman
Downloads
5
Maintainers
Readme
generator-sketchup-extension
Installation
Install Yeoman and generator-sketchup-extension using npm (we assume you have pre-installed node.js).
npm install -g yo generator-sketchup-extension
Features
See the example directory for an example of generated files.
example
├── CHANGELOG.md
├── LICENSE.txt
├── README.md
├── my_plugin
│ └── main.rb
└── my_plugin.rb
Usage
To generate your project simply run:
mkdir my-project && cd my-project
yo sketchup-extension
For a list of options run:
yo sketchup-extension --help
Options
-d, --dest # Destination folder Default: Current directory name
-n, --name # Extension name Default: Based on dest
-v, --version # Extension version Default: 0.1.0
--author # Author name Default: git user.name
-e, --email # Author email Default: git user.email
-w, --website # Website Default: https://example.com
-s, --summary # Short description Default: An extension for SketchUp.
-l, --license # License Default: MIT
-m, --sketchup_version # Minimum SketchUp version Default: From current year.
Development
To run during development, execute the following. Tasks are defined in the
scripts
section of package.json
.
npm run do
To run tests:
npm run test
Credits
License
MIT © Alissa Huskey