@hashgraph/solo
Version:
An opinionated CLI tool to deploy and manage private Hedera Networks.
19 lines • 506 B
JavaScript
// SPDX-License-Identifier: Apache-2.0
import { SemanticVersion } from '../../../business/utils/semantic-version.js';
/**
* The response from the helm version command.
*/
export class Version {
version;
constructor(version) {
this.version = version;
}
/**
* Returns a SemanticVersion representation of the version.
* @returns the helm version
*/
asSemanticVersion() {
return new SemanticVersion(this.version);
}
}
//# sourceMappingURL=version.js.map