<commit_before>import chalk from 'chalk';

import { CommandMap, Namespace } from '@ionic/cli-utils/lib/namespace';

export class SSHNamespace extends Namespace {
  async getMetadata() {
    return {
      name: 'ssh',
      description: 'Commands for configuring SSH keys',
      longDescription: `
These commands help automate your SSH configuration for Ionic Pro. As an alternative, SSH configuration can be done entirely manually by visiting your Account Settings: ${chalk.bold('https://dashboard.ionicjs.com/settings/ssh-keys')}

To begin, run ${chalk.green('ionic ssh setup')}, which lets you use existing keys or generate new ones just for Ionic.
      `,
    };
  }

  async getCommands(): Promise<CommandMap> {
    return new CommandMap([
      ['generate', async () => { const { SSHGenerateCommand } = await import('./generate'); return new SSHGenerateCommand(this, this.env); }],
      ['use', async () => { const { SSHUseCommand } = await import('./use'); return new SSHUseCommand(this, this.env); }],
      ['add', async () => { const { SSHAddCommand } = await import('./add'); return new SSHAddCommand(this, this.env); }],
      ['delete', async () => { const { SSHDeleteCommand } = await import('./delete'); return new SSHDeleteCommand(this, this.env); }],
      ['list', async () => { const { SSHListCommand } = await import('./list'); return new SSHListCommand(this, this.env); }],
      ['setup', async () => { const { SSHSetupCommand } = await import('./setup'); return new SSHSetupCommand(this, this.env); }],
      ['ls', 'list'],
      ['remove', 'delete'],
      ['rm', 'delete'],
    ]);
  }
}<commit_msg>docs(ssh): use footnote style<commit_after>import chalk from 'chalk';

import { CommandMap, Namespace } from '@ionic/cli-utils/lib/namespace';

export class SSHNamespace extends Namespace {
  async getMetadata() {
    return {
      name: 'ssh',
      description: 'Commands for configuring SSH keys',
      longDescription: `
These commands help automate your SSH configuration for Ionic Pro. As an alternative, SSH configuration can be done entirely manually by visiting your Account Settings${chalk.cyan('[1]')}.

To begin, run ${chalk.green('ionic ssh setup')}, which lets you use existing keys or generate new ones just for Ionic.

${chalk.cyan('[1]')}: ${chalk.bold('https://dashboard.ionicjs.com/settings/ssh-keys')}
      `,
    };
  }

  async getCommands(): Promise<CommandMap> {
    return new CommandMap([
      ['generate', async () => { const { SSHGenerateCommand } = await import('./generate'); return new SSHGenerateCommand(this, this.env); }],
      ['use', async () => { const { SSHUseCommand } = await import('./use'); return new SSHUseCommand(this, this.env); }],
      ['add', async () => { const { SSHAddCommand } = await import('./add'); return new SSHAddCommand(this, this.env); }],
      ['delete', async () => { const { SSHDeleteCommand } = await import('./delete'); return new SSHDeleteCommand(this, this.env); }],
      ['list', async () => { const { SSHListCommand } = await import('./list'); return new SSHListCommand(this, this.env); }],
      ['setup', async () => { const { SSHSetupCommand } = await import('./setup'); return new SSHSetupCommand(this, this.env); }],
      ['ls', 'list'],
      ['remove', 'delete'],
      ['rm', 'delete'],
    ]);
  }
}
{'fraction_non_alphanumeric': 0.16772247360482653, 'fraction_numerical': 0.0006033182503770739, 'mean_word_length': 3.869309838472834, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 17, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3420071', 'n_tokens_mistral': 960, 'n_tokens_neox': 912, 'n_words': 290}