<commit_before>import * as chalk from 'chalk';

import {
  BACKEND_LEGACY,
  Command,
  CommandLineInput,
  CommandLineInputs,
  CommandLineOptions,
  CommandMetadata,
} from '@ionic/cli-utils';

import { upload } from '../lib/upload';

@CommandMetadata({
  name: 'upload',
  type: 'project',
  backends: [BACKEND_LEGACY],
  description: 'Upload a new snapshot of your app',
  longDescription: `
Zips up your local app files and uploads a snapshot to Ionic.

From there, you can use Ionic View (${chalk.bold('https://view.ionic.io')}) to easily share your app with your organization and testers around the world.
  `,
  exampleCommands: [
    '',
    '--deploy=dev',
    `--deploy=production --note="add menu entry" --metadata="{\"custom_data\":true}"`,
  ],
  options: [
    {
      name: 'note',
      description: 'Give this snapshot a nice description',
    },
    {<commit_msg>docs(upload): escape backslash<commit_after>import * as chalk from 'chalk';

import {
  BACKEND_LEGACY,
  Command,
  CommandLineInput,
  CommandLineInputs,
  CommandLineOptions,
  CommandMetadata,
} from '@ionic/cli-utils';

import { upload } from '../lib/upload';

@CommandMetadata({
  name: 'upload',
  type: 'project',
  backends: [BACKEND_LEGACY],
  description: 'Upload a new snapshot of your app',
  longDescription: `
Zips up your local app files and uploads a snapshot to Ionic.

From there, you can use Ionic View (${chalk.bold('https://view.ionic.io')}) to easily share your app with your organization and testers around the world.
  `,
  exampleCommands: [
    '',
    '--deploy=dev',
    `--deploy=production --note="add menu entry" --metadata="{\\"custom_data\\":true}"`,
  ],
  options: [
    {
      name: 'note',
      description: 'Give this snapshot a nice description',
    },
    {
{'fraction_non_alphanumeric': 0.13853056646102074, 'fraction_numerical': 0.0, 'mean_word_length': 3.633766233766234, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, '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': '959033', 'n_tokens_mistral': 574, 'n_tokens_neox': 557, 'n_words': 170}