UNPKG

@veecode-platform/safira-cli

Version:

Generate a microservice project from your spec.

25 lines (24 loc) 861 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GithubParameter = void 0; const ritchie_command_1 = require("../../ritchie/ritchie-command"); class GithubParameter { constructor() { } add(projectName, parameterName, parameterValue) { let command = "github parameter add "; if (projectName) command += `--project_name ${projectName} `; if (parameterName) command += `--parameter_name ${parameterName} `; if (parameterValue) command += `--parameter_value ${parameterValue} `; ritchie_command_1.RitchieCommand.instance.runWithResponse(command); } static get instance() { if (!this._instance) { this._instance = new this(); } return this._instance; } } exports.GithubParameter = GithubParameter;