@hashgraph/solo
Version:
An opinionated CLI tool to deploy and manage private Hedera Networks.
27 lines • 776 B
JavaScript
// SPDX-License-Identifier: Apache-2.0
/**
* A request to uninstall a Helm chart.
*/
export class ChartUninstallRequest {
releaseName;
options;
constructor(releaseName, options) {
this.releaseName = releaseName;
this.options = options;
if (!releaseName) {
throw new Error('releaseName must not be null');
}
if (releaseName.trim() === '') {
throw new Error('releaseName must not be null or blank');
}
}
apply(builder) {
builder.subcommands('uninstall');
// Apply options if provided
if (this.options) {
this.options.apply(builder);
}
builder.positional(this.releaseName);
}
}
//# sourceMappingURL=chart-uninstall-request.js.map