Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/cli/cmd/dataset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pub enum Error {
Deposit { source: deposit::Error },
}

/// Sub command for managing datasets
/// Sub command for managing datasets [alias: d]
#[derive(Parser, Debug)]
pub struct Input {
#[command(subcommand)]
Expand Down
4 changes: 2 additions & 2 deletions src/cli/cmd/job.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ pub enum Error {
Logs { source: logs::Error },
}

/// Sub command for managing projects
/// Sub command for managing projects [alias: j]
#[derive(Parser, Debug)]
pub struct Input {
#[command(subcommand)]
Expand All @@ -48,7 +48,7 @@ pub enum JobCommand {
#[command()]
Stop(stop::Input),

#[command()]
#[command(alias = "ls")]
List(list::Input),

#[command()]
Expand Down
2 changes: 1 addition & 1 deletion src/cli/cmd/job/list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use clap::Parser;

use snafu::{ResultExt, Snafu};

/// Listing jobs.
/// Listing jobs [alias: ls].
///
/// List currently running jobs.
#[derive(Parser, Debug)]
Expand Down
4 changes: 2 additions & 2 deletions src/cli/cmd/launcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pub enum Error {
List { source: list::Error },
}

/// Sub command for managing launchers
/// Sub command for managing launchers [alias: l]
#[derive(Parser, Debug)]
pub struct Input {
#[command(subcommand)]
Expand All @@ -27,6 +27,6 @@ impl Input {

#[derive(Parser, Debug)]
pub enum LauncherCommand {
#[command()]
#[command(alias = "ls")]
List(list::Input),
}
2 changes: 1 addition & 1 deletion src/cli/cmd/launcher/list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use clap::Parser;

use snafu::{ResultExt, Snafu};

/// Listing launchers.
/// Listing launchers [alias: ls].
///
/// List currently running launchers.
#[derive(Parser, Debug)]
Expand Down
4 changes: 2 additions & 2 deletions src/cli/cmd/project.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pub enum Error {
List { source: list::Error },
}

/// Sub command for managing projects
/// Sub command for managing projects [alias: p]
#[derive(Parser, Debug)]
pub struct Input {
#[command(subcommand)]
Expand All @@ -33,6 +33,6 @@ impl Input {
pub enum ProjectCommand {
#[command()]
Clone(clone::Input),
#[command()]
#[command(alias = "ls")]
List(list::Input),
}
2 changes: 1 addition & 1 deletion src/cli/cmd/project/list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use clap::Parser;

use snafu::{ResultExt, Snafu};

/// Listing projects.
/// Listing projects [alias: ls].
///
/// List all projects owned by a user
#[derive(Parser, Debug)]
Expand Down
8 changes: 4 additions & 4 deletions src/cli/opts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ pub enum SubCommand {
#[command()]
Update(update::Input),

#[command()]
#[command(alias = "p")]
Project(project::Input),

/// Clone a project. (Shortcut for 'project clone')
Expand All @@ -159,12 +159,12 @@ pub enum SubCommand {
#[cfg(feature = "user-doc")]
UserDoc(userdoc::Input),

#[command()]
#[command(alias = "d")]
Dataset(dataset::Input),

#[command()]
#[command(alias = "j")]
Job(job::Input),
#[command()]
#[command(alias = "l")]
Launcher(launcher::Input),

#[command()]
Expand Down
Loading