Skip to content

Commit 3d96820

Browse files
committed
chore: remove reference comment
1 parent 3ce67c6 commit 3d96820

File tree

2 files changed

+0
-37
lines changed

2 files changed

+0
-37
lines changed

horizon_cli/src/commands.rs

-34
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,5 @@
11
use clap::{Parser, Subcommand};
22

3-
/**
4-
horizon init # Initializes the Horizon environment locally
5-
6-
horizon list-gpus # Lists available GPUs in the Horizon marketplace
7-
horizon rent <gpu_id> --duration <hours> [--price <price>] # Rent a GPU for a specified duration
8-
horizon submit-job <gpu_id> --job <job_file> # Submit a job for execution on a specified GPU
9-
horizon bid <gpu_id> --price <price> # Place a bid for a GPU rental
10-
horizon auction start <gpu_id> --duration <duration> # Start an auction for a GPU
11-
horizon auction end <gpu_id> # End an auction for a GPU
12-
horizon status <job_id> # Retrieve the status of a job submitted to the marketplace
13-
horizon cancel-job <job_id> # Cancel a job in progress
14-
15-
horizon config --set <key> <value> # Set a configuration option (e.g., price limits, security keys)
16-
horizon config --get <key> # Retrieve a configuration value
17-
18-
horizon network status # Check the status of the Horizon network and nodes
19-
horizon network connect <node_id> # Connect to a specific node in the network
20-
horizon network disconnect <node_id> # Disconnect from a node in the network
21-
22-
horizon marketplace sync # Synchronize local data with the decentralized GPU marketplace
23-
horizon marketplace update # Update local GPU listings from the marketplace
24-
25-
horizon register-gpu --gpu-id <gpu_id> --gpu-type <type> --price <price> # Register a GPU for rental
26-
horizon deregister-gpu <gpu_id> # Deregister a GPU from the marketplace
27-
28-
horizon explore <gpu_id> [--filter <json_path>] # Interactively explore the details of a GPU
29-
30-
horizon logs # Display logs for Horizon operations and node status
31-
horizon logs clear # Clear the local logs
32-
33-
horizon version # Displays the Horizon CLI version
34-
horizon <command> --help # Shows help for a specific command
35-
*/
36-
373
#[derive(Parser)]
384
#[clap(version, name = "horizon", long_about = None)]
395
pub struct Cli {

horizon_cli/src/job_cmds.rs

-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ use lazy_static::lazy_static;
55

66
use horizon_common::HorizonCliState;
77

8-
// get directories; default to ./data and ./config if env vars don't exist or aren't set
9-
// otherwise get HORIZON_DATA_DIRECTORY and HORIZON_CONFIG_DIRECTORY from env vars
10-
118
lazy_static! {
129
static ref HORIZON_DATA_DIRECTORY: PathBuf = {
1310
match env::var("HORIZON_DATA_DIRECTORY") {

0 commit comments

Comments
 (0)