Skip to content

Commit

Permalink
refactor: Use version instead of deployment in all APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
chubei committed Sep 27, 2023
1 parent 8296ead commit f27ceb5
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 370 deletions.
9 changes: 2 additions & 7 deletions dozer-cli/src/cli/cloud.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ pub struct LogCommandArgs {
#[arg(short, long)]
pub follow: bool,

/// The deployment to inspect
/// The version to inspect
#[arg(short, long)]
pub deployment: Option<u32>,
pub version: Option<u32>,

/// Ignore app logs
#[arg(long, default_value = "false", action=ArgAction::SetTrue)]
Expand Down Expand Up @@ -131,11 +131,6 @@ pub struct ListCommandArgs {

#[derive(Debug, Clone, Subcommand)]
pub enum VersionCommand {
/// Inspects the status of a version, compared to the current version if it's not current.
Status {
/// The version to inspect
version: u32,
},
/// Sets a version as the "current" version of the application
///
/// Current version of an application can be visited without the "/v<version>" prefix.
Expand Down
1 change: 0 additions & 1 deletion dozer-cli/src/simple/cloud/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ pub mod deployer;
pub mod login;
pub mod monitor;
pub mod progress_printer;
pub mod version;
192 changes: 0 additions & 192 deletions dozer-cli/src/simple/cloud/version.rs

This file was deleted.

Loading

0 comments on commit f27ceb5

Please sign in to comment.