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/main.rs
+16-3Lines changed: 16 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ mod workspace;
15
15
16
16
use anstyle::AnsiColor;
17
17
use clap::{Parser, builder::Styles};
18
-
use command::{AuthCommands,Commands,ConnectionsCommands,ConnectionsCreateCommands,DatasetsCommands,SkillCommands,TablesCommands,WorkspaceCommands};
18
+
use command::{AuthCommands,Commands,ConnectionsCommands,ConnectionsCreateCommands,DatasetsCommands,ResultsCommands,SkillCommands,TablesCommands,WorkspaceCommands};
19
19
20
20
#[derive(Parser)]
21
21
#[command(name = "hotdata", version, about = concat!("HotData CLI - Command line interface for HotData (v", env!("CARGO_PKG_VERSION"),")"), long_about = None, disable_version_flag = true)]
@@ -149,9 +149,22 @@ fn main() {
149
149
}
150
150
SkillCommands::Status => skill::status(),
151
151
},
152
-
Commands::Results{ result_id, workspace_id, format } => {
152
+
Commands::Results{ result_id, workspace_id, format, command} => {
153
153
let workspace_id = resolve_workspace(workspace_id);
154
-
results::get(&result_id,&workspace_id,&format)
154
+
match command {
155
+
Some(ResultsCommands::List{ limit, offset, format }) => {
0 commit comments