Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/zipsync/src/ZipSyncCommandLineParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import type {
CommandLineFlagParameter,
IRequiredCommandLineStringParameter,
IRequiredCommandLineChoiceParameter,
IRequiredCommandLineStringListParameter
CommandLineStringListParameter
} from '@rushstack/ts-command-line/lib/index';
import type { ConsoleTerminalProvider } from '@rushstack/terminal/lib/ConsoleTerminalProvider';
import type { ITerminal } from '@rushstack/terminal/lib/ITerminal';
Expand All @@ -20,7 +20,7 @@ export class ZipSyncCommandLineParser extends CommandLineParser {
private readonly _modeParameter: IRequiredCommandLineChoiceParameter<IZipSyncMode>;
private readonly _archivePathParameter: IRequiredCommandLineStringParameter;
private readonly _baseDirParameter: IRequiredCommandLineStringParameter;
private readonly _targetDirectoriesParameter: IRequiredCommandLineStringListParameter;
private readonly _targetDirectoriesParameter: CommandLineStringListParameter;
private readonly _compressionParameter: IRequiredCommandLineChoiceParameter<ZipSyncOptionCompression>;
private readonly _terminal: ITerminal;
private readonly _terminalProvider: ConsoleTerminalProvider;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"changes": [
{
"packageName": "@rushstack/ts-command-line",
"comment": "Add `IRequiredCommandLineStringListParameter`.",
"type": "minor"
"comment": "",
"type": "none"
}
],
"packageName": "@rushstack/ts-command-line"
}
}
10 changes: 10 additions & 0 deletions common/changes/@rushstack/zipsync/main_2025-09-30-19-21.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@rushstack/zipsync",
"comment": "",
"type": "none"
}
],
"packageName": "@rushstack/zipsync"
}
6 changes: 0 additions & 6 deletions common/reviews/api/ts-command-line.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -425,12 +425,6 @@ export interface IRequiredCommandLineIntegerParameter extends CommandLineInteger
readonly value: number;
}

// @public
export interface IRequiredCommandLineStringListParameter extends CommandLineStringListParameter {
// (undocumented)
values: ReadonlyArray<string>;
}

// @public
export interface IRequiredCommandLineStringParameter extends CommandLineStringParameter {
// (undocumented)
Expand Down
5 changes: 1 addition & 4 deletions libraries/ts-command-line/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,7 @@ export {
CommandLineStringParameter,
type IRequiredCommandLineStringParameter
} from './parameters/CommandLineStringParameter';
export {
CommandLineStringListParameter,
type IRequiredCommandLineStringListParameter
} from './parameters/CommandLineStringListParameter';
export { CommandLineStringListParameter } from './parameters/CommandLineStringListParameter';
export {
CommandLineIntegerParameter,
type IRequiredCommandLineIntegerParameter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,6 @@ import type { ICommandLineStringListDefinition } from './CommandLineDefinition';
import { CommandLineParameterWithArgument, CommandLineParameterKind } from './BaseClasses';
import { EnvironmentVariableParser } from './EnvironmentVariableParser';

/**
* The data type returned by {@link CommandLineParameterProvider.(defineStringParameter:2)}.
* @public
*/
export interface IRequiredCommandLineStringListParameter extends CommandLineStringListParameter {
values: ReadonlyArray<string>;
}

/**
* The data type returned by {@link CommandLineParameterProvider.defineStringListParameter}.
* @public
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// See LICENSE in the project root for license information.

import type * as argparse from 'argparse';
import { Colorize } from '@rushstack/terminal/lib/Colorize';
import { Colorize } from '@rushstack/terminal';

import type { CommandLineAction } from './CommandLineAction';
import type { AliasCommandLineAction } from './AliasCommandLineAction';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.

import { AnsiEscape } from '@rushstack/terminal/lib/AnsiEscape';
import { AnsiEscape } from '@rushstack/terminal';

import { ScopedCommandLineAction } from '../providers/ScopedCommandLineAction';
import type { CommandLineStringParameter } from '../parameters/CommandLineStringParameter';
Expand Down