Skip to content

Commit 6622aa9

Browse files
committed
refactor(@angular/cli): remove command type
It was really unused.
1 parent 86d803e commit 6622aa9

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

packages/angular/cli/models/interface.ts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -142,14 +142,6 @@ export enum CommandScope {
142142
Default = InProject,
143143
}
144144

145-
export enum CommandType {
146-
Custom = 'custom',
147-
Architect = 'architect',
148-
Schematic = 'schematics',
149-
150-
Default = Custom,
151-
}
152-
153145
/**
154146
* A description of a command, its metadata.
155147
*/
@@ -190,11 +182,6 @@ export interface CommandDescription {
190182
*/
191183
scope: CommandScope;
192184

193-
/**
194-
* Type of command.
195-
*/
196-
type: CommandType;
197-
198185
/**
199186
* Whether this command should be hidden from a list of all commands.
200187
*/

packages/angular/cli/utilities/json-schema.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import {
1313
CommandConstructor,
1414
CommandDescription,
1515
CommandScope,
16-
CommandType,
1716
Option,
1817
OptionType,
1918
} from '../models/interface';
@@ -90,7 +89,6 @@ export async function parseJsonSchemaToCommandDescription(
9089
...(longDescription ? { longDescription } : {}),
9190
...(usageNotes ? { usageNotes } : {}),
9291
hidden,
93-
type,
9492
options,
9593
aliases,
9694
scope,

0 commit comments

Comments
 (0)