shipthis
Version:
ShipThis manages building and uploading your Godot games to the App Store and Google Play.
52 lines (49 loc) • 1.3 kB
JavaScript
import open from 'open';
import { Y as getSingleUseUrl } from '../baseCommand-CTn3KGH3.js';
import { B as BaseAuthenticatedCommand } from '../baseGameCommand-8VL7xe-O.js';
import 'node:fs';
import 'node:path';
import 'chalk';
import '@oclif/core';
import 'node:crypto';
import 'node:readline';
import 'node:url';
import 'readline-sync';
import 'luxon';
import 'axios';
import 'isomorphic-git';
import '@tanstack/react-query';
import 'react';
import 'fast-glob';
import 'uuid';
import 'yazl';
import 'socket.io-client';
import 'fullscreen-ink';
import 'ink';
import 'crypto-js';
import '@expo/apple-utils/build/index.js';
import 'deepmerge';
import 'ini';
import 'react/jsx-runtime';
import 'ink-spinner';
import 'string-length';
import 'strip-ansi';
import '@inkjs/ui';
import 'fs';
import 'path';
import 'marked';
import 'marked-terminal';
import 'qrcode';
class Dashboard extends BaseAuthenticatedCommand {
static args = {};
static description = "Opens the web-browser to your ShipThis dashboard";
static examples = ["<%= config.bin %> <%= command.id %>"];
static flags = {};
async run() {
const dashboardUrl = await getSingleUseUrl("/dashboard");
console.log(`Opening ${dashboardUrl}...`);
await open(dashboardUrl);
process.exit(0);
}
}
export { Dashboard as default };