You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/cmd/popcorn-cli.go
+67-31Lines changed: 67 additions & 31 deletions
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@ package cmd
3
3
import (
4
4
"fmt"
5
5
"os"
6
+
"strings"
6
7
7
8
"github.com/charmbracelet/bubbles/list"
8
9
"github.com/charmbracelet/bubbles/spinner"
@@ -11,16 +12,11 @@ import (
11
12
"github.com/S1ro1/popcorn-cli/src/models"
12
13
"github.com/S1ro1/popcorn-cli/src/service"
13
14
14
-
// "github.com/S1ro1/popcorn-cli/src/utils"
15
+
"github.com/S1ro1/popcorn-cli/src/utils"
15
16
16
17
tea "github.com/charmbracelet/bubbletea"
17
18
)
18
19
19
-
varrunnerItems= []list.Item{
20
-
models.RunnerItem{TitleText: "Modal", DescriptionText: "Submit a solution to be evaluated on Modal runners.", Value: "modal"},
21
-
models.RunnerItem{TitleText: "Github", DescriptionText: "Submit a solution to be evaluated on Github runners. This can take a little longer to spin up.", Value: "github"},
22
-
}
23
-
24
20
varsubmissionModeItems= []list.Item{
25
21
models.SubmissionModeItem{TitleText: "Test", DescriptionText: "Test the solution and give detailed results about passed/failed tests.", Value: "test"},
26
22
models.SubmissionModeItem{TitleText: "Benchmark", DescriptionText: "Benchmark the solution, this also runs the tests and afterwards runs the benchmark, returning detailed timing results", Value: "benchmark"},
0 commit comments