Skip to content

Commit a8abd82

Browse files
committed
Remove old shell completion method
1 parent ee2eb35 commit a8abd82

File tree

4 files changed

+0
-21
lines changed

4 files changed

+0
-21
lines changed

src/bin/juliaup.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ use anyhow::{Context, Result};
22
use clap::Parser;
33
use juliaup::cli::{ConfigSubCmd, Juliaup, OverrideSubCmd, SelfSubCmd};
44
use juliaup::command_api::run_command_api;
5-
use juliaup::command_completions::run_command_completions;
65
#[cfg(not(windows))]
76
use juliaup::command_config_symlinks::run_command_config_symlinks;
87
use juliaup::command_config_versionsdbupdate::run_command_config_versionsdbupdate;
@@ -148,6 +147,5 @@ fn main() -> Result<()> {
148147
#[cfg(not(feature = "selfupdate"))]
149148
SelfSubCmd::Uninstall {} => run_command_selfuninstall_unavailable(),
150149
},
151-
Juliaup::Completions { shell } => run_command_completions(shell),
152150
}
153151
}

src/cli.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ pub enum Juliaup {
5050
Info {},
5151
#[clap(subcommand, name = "self")]
5252
SelfSubCmd(SelfSubCmd),
53-
/// Generate tab-completion scripts for your shell
54-
Completions { shell: clap_complete::Shell },
5553
// This is used for the cron jobs that we create. By using this UUID for the command
5654
// We can identify the cron jobs that were created by juliaup for uninstall purposes
5755
#[cfg(feature = "selfupdate")]

src/command_completions.rs

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

src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ use anyhow::Context;
33
pub mod cli;
44
pub mod command_add;
55
pub mod command_api;
6-
pub mod command_completions;
76
pub mod command_config_backgroundselfupdate;
87
pub mod command_config_modifypath;
98
pub mod command_config_startupselfupdate;

0 commit comments

Comments
 (0)