1.1.0 • Published 1 year ago

sf-extension v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

sf-extension

This package exports the base class extended by all sf-extend extensions. sf-extend is a plugin for the sfdx and sf cli applications. All generated extensions include reference to this package.

In addition to the constructor, the base class provides the following functionality to extending classes:

Properties

forceOverwrite

When set to true (default) any changes to existing files will generate a prompt to the user providing options on how to handle the change. Extending classes can set this property to false to override this behavior as such:

// make sure to set during or prior to Yeoman's writing() phase
writing(){
    this.forceOverwrite = true;
    //...
}