diff --git a/cli/src/commands.zig b/cli/src/commands.zig index f52dc11..8b5c76a 100644 --- a/cli/src/commands.zig +++ b/cli/src/commands.zig @@ -10,7 +10,6 @@ pub const init = @import("commands/init.zig"); pub const jupyter = @import("commands/jupyter.zig"); pub const logs = @import("commands/log.zig"); pub const prune = @import("commands/prune.zig"); -pub const queue = @import("commands/queue.zig"); pub const run = @import("commands/run.zig"); pub const status = @import("commands/status.zig"); pub const sync = @import("commands/sync.zig"); diff --git a/cli/src/commands/run.zig b/cli/src/commands/run.zig index 966f086..087730d 100644 --- a/cli/src/commands/run.zig +++ b/cli/src/commands/run.zig @@ -201,18 +201,19 @@ fn explainJob(allocator: std.mem.Allocator, job_name: []const u8, options: *cons } fn printUsage() !void { - std.debug.print( - \\n - \\ml run [options] [-- ] - \\ - \\Unified run command - handles both local and remote execution. - \\ - \\Options: - \\ --priority <1-10> Job priority (default: 5) - \\ --cpu , --memory , --gpu Resources - \\ --local, --remote Force execution mode - \\ --dry-run, --validate, --explain Preview modes - \\ --hypothesis, --context, --tags Research context - \\ - , .{}); + std.debug.print("Usage: ml run [options] [-- ]\n", .{}); + std.debug.print("\nUnified run command - handles both local and remote execution.\n", .{}); + std.debug.print("\nOptions:\n", .{}); + std.debug.print(" --priority <1-10> Job priority (default: 5)\n", .{}); + std.debug.print(" --cpu CPU cores requested (default: 1)\n", .{}); + std.debug.print(" --memory Memory GB requested (default: 4)\n", .{}); + std.debug.print(" --gpu GPU devices requested (default: 0)\n", .{}); + std.debug.print(" --local Force local execution\n", .{}); + std.debug.print(" --remote Force remote execution\n", .{}); + std.debug.print(" --dry-run Show what would happen\n", .{}); + std.debug.print(" --validate Validate job without running\n", .{}); + std.debug.print(" --explain Explain what will happen\n", .{}); + std.debug.print(" --hypothesis Research hypothesis\n", .{}); + std.debug.print(" --context Background information\n", .{}); + std.debug.print(" --tags Comma-separated tags\n", .{}); }