@frontitude/cli
Version:
The Frontitude CLI enables product teams to integrate their code with Frontitude (frontitude.com), thus creating a single source of truth for their product copy, from design to development.
1 lines • 694 B
JavaScript
;Object.defineProperty(exports,"__esModule",{value:!0}),exports.ConfigGet=void 0;const tslib_1=require("tslib"),core_1=require("@oclif/core"),strings=tslib_1.__importStar(require("../../strings.json")),config=tslib_1.__importStar(require("../../common/config"));class ConfigGet extends core_1.Command{async run(){const{args:e}=await this.parse(ConfigGet),o=config.global.get(e.key);this.log(strings["configGetCommand-successMessage"].replace("{{configurationKey}}",e.key).replace("{{configurationValue}}",o||"null"))}}exports.ConfigGet=ConfigGet,ConfigGet.description=strings["configGetCommand-commandDescription"],ConfigGet.args=[{name:"key",required:!0,options:["access-token"]}];