Skip to content

Commit

Permalink
Merge pull request #74 from a-kenji/remove-unimpl
Browse files Browse the repository at this point in the history
rm: unimplemented paths
  • Loading branch information
a-kenji authored Jul 21, 2024
2 parents fe4103b + 916e025 commit d5add55
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 17 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ Usage: flake-edit [OPTIONS] [FLAKE_REF] <COMMAND>
Commands:
add
Add a new flake reference
change
Change a specific flake reference based on its id
remove
Remove a specific flake reference based on its id
list
Expand Down
6 changes: 0 additions & 6 deletions src/bin/flake-edit/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,6 @@ pub(crate) enum Command {
#[arg(long, short)]
no_flake: bool,
},
/// Change a specific flake reference based on its id.
#[command(alias = "c", arg_required_else_help = true)]
Change {
id: Option<String>,
uri: Option<String>,
},
/// Remove a specific flake reference based on its id.
#[clap(alias = "rm")]
Remove { id: Option<String> },
Expand Down
9 changes: 0 additions & 9 deletions src/bin/flake-edit/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,15 +94,6 @@ fn main() -> eyre::Result<()> {
}
cli::Command::Update { .. } => {}
cli::Command::List { .. } => {}
cli::Command::Change { id, uri } => {
if let Some(id) = id {
change = Change::Change {
id: id.to_owned().into(),
ref_or_rev: None,
uri: uri.clone(),
};
}
}
cli::Command::Completion { inputs: _, mode } => match mode {
cli::CompletionMode::None => todo!(),
cli::CompletionMode::Add => {
Expand Down

0 comments on commit d5add55

Please sign in to comment.