Type Alias: SuggestionCommand
type SuggestionCommand = {
description?: string;
run: string[];
};
Defined in: detector.ts:130
A command a person can run to act on a suggestion. opx prints it and never runs it.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
description? |
string |
What the command does, when its name does not say. | detector.ts:134 |
run |
string[] |
The program and its arguments, such as ["npx", "@eslint/migrate-config", ".eslintrc.json"]. |
detector.ts:132 |