You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
600 B
30 lines
600 B
import type { AssignmentInput } from "./assignment"
|
|
import type { ScriptLine } from "./script"
|
|
|
|
export default interface CommandInput {
|
|
addAlias?: AddAliasCommand
|
|
removeAlias?: RemoveAliasComamnd
|
|
assign?: AssignmentInput
|
|
updateScript?: UpdateScriptCommand
|
|
executeScript?: ExecuteScriptCommand
|
|
}
|
|
|
|
export interface UpdateScriptCommand {
|
|
name: string
|
|
lines: ScriptLine[]
|
|
}
|
|
|
|
export interface ExecuteScriptCommand {
|
|
name: string
|
|
match: string
|
|
}
|
|
|
|
export interface AddAliasCommand {
|
|
match: string
|
|
alias: string
|
|
}
|
|
|
|
export interface RemoveAliasComamnd {
|
|
match: string
|
|
alias: string
|
|
}
|