-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to make homemade plugin (getting started) #14
Comments
59naga
changed the title
How to make homemade plug-ins (getting started)
How to make homemade plugin (getting started)
Apr 8, 2016
if use quickly the your plugin, specify after the dash. in // my-plugin.js
'use strict';
module.exports = class MyPlugin {
constructor(asyncEmitter, cliValue, jsonOptions) {
console.log('hello, abigail');
}
}; abby -- ./my-plugin.js
# hello, abigail
#
#
# _ |_ . _ _ .|
# (_||_)|(_)(_||| v1.4.1
# _/ a minimal task runner.
#
# github.com/abigailjs/abigail#usage
# |
missing cli value :( console.log('hello, abigail', cliValue); abby -- ./my-plugin.js value
# hello, abigail undefined |
59naga
added a commit
that referenced
this issue
Apr 8, 2016
- up [email protected] (refs https://github.com/59naga/chopsticks/blob/v0.4.0/CHANGELOG.md#features) BREAKING CHANGE remove `utils.toPluginOptions`
available at abby --./my-plugin.js value
# hello, abigail value |
document is missing. (like a writing-a-plugin - gulp) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the original design. if use a relative path at the plugin name(e.g.
--./plugin.js
), had been expected to be able to use immediately. this to fail.should be aggressive.
The text was updated successfully, but these errors were encountered: