404

[ Avaa Bypassed ]




Upload:

Command:

botdev@3.144.19.228: ~ $
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SSHNamespace = void 0;
const color_1 = require("../../lib/color");
const namespace_1 = require("../../lib/namespace");
class SSHNamespace extends namespace_1.Namespace {
    async getMetadata() {
        const dashUrl = this.env.config.getDashUrl();
        return {
            name: 'ssh',
            summary: 'Commands for configuring SSH keys',
            description: `
These commands help automate your SSH configuration for Ionic. As an alternative, SSH configuration can be done entirely manually by visiting your Personal Settings[^dashboard-settings-ssh-keys].

To begin, run ${color_1.input('ionic ssh setup')}, which lets you use existing keys or generate new ones just for Ionic.
      `,
            footnotes: [
                {
                    id: 'dashboard-settings-ssh-keys',
                    url: `${dashUrl}/settings/ssh-keys`,
                },
            ],
        };
    }
    async getCommands() {
        return new namespace_1.CommandMap([
            ['generate', async () => { const { SSHGenerateCommand } = await Promise.resolve().then(() => require('./generate')); return new SSHGenerateCommand(this); }],
            ['use', async () => { const { SSHUseCommand } = await Promise.resolve().then(() => require('./use')); return new SSHUseCommand(this); }],
            ['add', async () => { const { SSHAddCommand } = await Promise.resolve().then(() => require('./add')); return new SSHAddCommand(this); }],
            ['delete', async () => { const { SSHDeleteCommand } = await Promise.resolve().then(() => require('./delete')); return new SSHDeleteCommand(this); }],
            ['list', async () => { const { SSHListCommand } = await Promise.resolve().then(() => require('./list')); return new SSHListCommand(this); }],
            ['setup', async () => { const { SSHSetupCommand } = await Promise.resolve().then(() => require('./setup')); return new SSHSetupCommand(this); }],
            ['ls', 'list'],
            ['remove', 'delete'],
            ['rm', 'delete'],
            ['g', 'generate'],
        ]);
    }
}
exports.SSHNamespace = SSHNamespace;

Filemanager

Name Type Size Permission Actions
add.d.ts File 494 B 0644
add.js File 4.73 KB 0644
base.d.ts File 148 B 0644
base.js File 971 B 0644
delete.d.ts File 446 B 0644
delete.js File 2.28 KB 0644
generate.d.ts File 448 B 0644
generate.js File 4.56 KB 0644
index.d.ts File 353 B 0644
index.js File 2.14 KB 0644
list.d.ts File 390 B 0644
list.js File 3.56 KB 0644
setup.d.ts File 402 B 0644
setup.js File 5.71 KB 0644
use.d.ts File 320 B 0644
use.js File 4.15 KB 0644