Skip to content

Commit

Permalink
Return Script for now
Browse files Browse the repository at this point in the history
  • Loading branch information
sourishkrout committed Feb 27, 2024
1 parent d8cba73 commit 560084c
Show file tree
Hide file tree
Showing 15 changed files with 1,666 additions and 243 deletions.
7 changes: 5 additions & 2 deletions internal/api/runme/runner/v1/runner.proto
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,12 @@ message ResolveProgramRequest {
}

message ResolveProgramResponse {
ResolveProgramCommandList commands = 1;
string script = 1;

repeated VarResult vars = 2;
// use script until commands normalization is implemented
ResolveProgramCommandList commands = 2;

repeated VarResult vars = 3;

message VarResult {
// prompt indicates the resolution status of the env variable.
Expand Down
7 changes: 5 additions & 2 deletions internal/api/runme/runner/v2alpha1/runner.proto
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,12 @@ message ResolveProgramRequest {
}

message ResolveProgramResponse {
ResolveProgramCommandList commands = 1;
string script = 1;

repeated VarResult vars = 2;
// use script until commands normalization is implemented
ResolveProgramCommandList commands = 2;

repeated VarResult vars = 3;

message VarResult {
// prompt indicates the resolution status of the env variable.
Expand Down
192 changes: 101 additions & 91 deletions internal/gen/proto/go/runme/runner/v1/runner.pb.go

Large diffs are not rendered by default.

205 changes: 108 additions & 97 deletions internal/gen/proto/go/runme/runner/v2alpha1/runner.pb.go

Large diffs are not rendered by default.

Loading

0 comments on commit 560084c

Please sign in to comment.