-
Notifications
You must be signed in to change notification settings - Fork 206
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow to copy evaluate command in a CLI format (#3154)
* feat: allow to copy evaluate command in a CLI format Signed-off-by: kyryl.perepelytsia <[email protected]> * fix: pass each key/value as a seprate context option Signed-off-by: kyryl.perepelytsia <[email protected]> --------- Signed-off-by: kyryl.perepelytsia <[email protected]>
- Loading branch information
1 parent
47752dd
commit a143262
Showing
4 changed files
with
86 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
export enum Command { | ||
Evaluate = 'evaluate' | ||
} | ||
|
||
export interface IOption { | ||
key: string; | ||
value: string; | ||
} | ||
|
||
export interface ICommand { | ||
commandName: Command; | ||
arguments?: string[]; | ||
options?: IOption[]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters