// SPDX-License-Identifier: Apache-2.0
/**
 * A request to update the dependencies of a Helm chart.
 */
export class ChartDependencyUpdateRequest {
    chartName;
    constructor(chartName) {
        this.chartName = chartName;
        if (!chartName) {
            throw new Error('chartName must not be null');
        }
        if (chartName.trim() === '') {
            throw new Error('chartName must not be blank');
        }
    }
    apply(builder) {
        builder.subcommands('dependency', 'update').positional(this.chartName);
    }
}
//# sourceMappingURL=chart-dependency-update-request.js.map