Skip to content

Commit 15e78c7

Browse files
Retire management of SSH Keys (#89)
1 parent a24b28a commit 15e78c7

File tree

9 files changed

+265
-2532
lines changed

9 files changed

+265
-2532
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## [Unreleased]
44
### Changed
5+
- [#88](https://github.com/saas-rs/cli/issues/88) Retire management of SSH Keys
56
- [#86](https://github.com/saas-rs/cli/issues/86) Upgrade 3 crates
67

78
## [0.3.7] - 2025-10-03

src/cmd/get/mod.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ pub(super) mod plan;
1111
pub(super) mod project;
1212
pub(super) mod service;
1313
pub(super) mod service_instance;
14-
pub(super) mod ssh_key;
1514

1615
pub use output::output;
1716

@@ -53,9 +52,6 @@ pub enum Subcommand {
5352

5453
#[command(name = "service-instance", alias = "serviceInstance")]
5554
ServiceInstance(service_instance::Opts),
56-
57-
#[command(name = "ssh-key", alias = "sshKey")]
58-
SshKey(ssh_key::Opts),
5955
}
6056

6157
pub async fn run(subcommand: Subcommand) -> Result<(), Box<dyn std::error::Error>> {
@@ -90,9 +86,6 @@ pub async fn run(subcommand: Subcommand) -> Result<(), Box<dyn std::error::Error
9086
Subcommand::ServiceInstance(service_instance::Opts { id, output }) => {
9187
service_instance::run(id, output).await?;
9288
}
93-
Subcommand::SshKey(ssh_key::Opts { id, output }) => {
94-
ssh_key::run(id, output).await?;
95-
}
9689
}
9790
Ok(())
9891
}

src/cmd/get/ssh_key.rs

Lines changed: 0 additions & 46 deletions
This file was deleted.

src/cmd/list/mod.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ pub(super) mod plans;
1111
pub(super) mod projects;
1212
pub(super) mod service_instances;
1313
pub(super) mod services;
14-
pub(super) mod ssh_keys;
1514
pub(super) mod transforms;
1615

1716
pub use output::{output, output_empty_result_of_unknown_schema};
@@ -55,9 +54,6 @@ pub enum Subcommand {
5554

5655
#[command(name = "service-instances", alias = "serviceInstances")]
5756
ServiceInstances(service_instances::Opts),
58-
59-
#[command(name = "ssh-keys", alias = "sshKeys")]
60-
SshKeys(ssh_keys::Opts),
6157
}
6258

6359
pub async fn run(subcommand: Subcommand) -> Result<(), Box<dyn std::error::Error>> {
@@ -92,9 +88,6 @@ pub async fn run(subcommand: Subcommand) -> Result<(), Box<dyn std::error::Error
9288
Subcommand::ServiceInstances(service_instances::Opts { offset, limit, output }) => {
9389
service_instances::run(offset, limit, output).await?;
9490
}
95-
Subcommand::SshKeys(ssh_keys::Opts { offset, limit, output }) => {
96-
ssh_keys::run(offset, limit, output).await?;
97-
}
9891
}
9992
Ok(())
10093
}

src/cmd/list/ssh_keys.rs

Lines changed: 0 additions & 52 deletions
This file was deleted.

src/kind.rs

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/main.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ mod apiclient;
22
mod cmd;
33
mod config;
44
mod consts;
5-
mod kind;
65
pub(crate) mod protocol;
76
pub(crate) mod util;
87

0 commit comments

Comments
 (0)