@hashgraph/solo
Version:
An opinionated CLI tool to deploy and manage private Hedera Networks.
29 lines • 727 B
JavaScript
// SPDX-License-Identifier: Apache-2.0
/**
* Options for the `helm repo add` command.
*/
export class AddRepoOptions {
/**
* If set, pass --force-update to the helm repo add command.
*/
_forceUpdate;
constructor(forceUpdate = false) {
this._forceUpdate = forceUpdate;
}
/**
* Apply the options to the HelmExecutionBuilder.
* @param builder The HelmExecutionBuilder to apply options to.
*/
apply(builder) {
if (this._forceUpdate) {
builder.flag('--force-update');
}
}
/**
* Whether --force-update will be set.
*/
get forceUpdate() {
return this._forceUpdate;
}
}
//# sourceMappingURL=add-repo-options.js.map