"Fossies" - the Fresh Open Source Software Archive

Member "cli-1.1260.0/src/lib/errors/describe-required-argument-error.ts" (4 Dec 2023, 544 Bytes) of package /linux/misc/snyk-cli-1.1260.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) TypeScript source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 import { CustomError } from './custom-error';
    2 import chalk from 'chalk';
    3 
    4 export class DescribeRequiredArgumentError extends CustomError {
    5   constructor() {
    6     super(
    7       chalk.red(
    8         'Describe command require one of these arguments:\n' +
    9           '    --only-unmanaged: Report resources not under Terraform control\n' +
   10           '    --only-managed: Report resources from Terraform states that changed (may take a while)\n' +
   11           '    --all: Scan for managed and unmanaged resources (may take a while)',
   12       ),
   13     );
   14   }
   15 }