// SPDX-License-Identifier: Apache-2.0
/**
 * A request to remove a Helm repository.
 */
export class RepositoryRemoveRequest {
    repository;
    constructor(repository) {
        this.repository = repository;
        if (!repository) {
            throw new Error('repository must not be null');
        }
    }
    apply(builder) {
        builder.subcommands('repo', 'remove').positional(this.repository.name);
    }
}
//# sourceMappingURL=repository-remove-request.js.map