UI for Zipcoin Blue

version.js 792B

12345678910111213141516171819202122
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. const tslib_1 = require("tslib");
  4. const command_1 = require("@ionic/cli-utils/lib/command");
  5. let VersionCommand = class VersionCommand extends command_1.Command {
  6. run(inputs, options) {
  7. return tslib_1.__awaiter(this, void 0, void 0, function* () {
  8. // can't use logger--see https://github.com/ionic-team/ionic-cli/issues/2507
  9. process.stdout.write(this.env.plugins.ionic.meta.version + '\n');
  10. });
  11. }
  12. };
  13. VersionCommand = tslib_1.__decorate([
  14. command_1.CommandMetadata({
  15. name: 'version',
  16. type: 'global',
  17. description: 'Returns the current CLI version',
  18. visible: false,
  19. })
  20. ], VersionCommand);
  21. exports.VersionCommand = VersionCommand;