feat: add shell_completion dependency and import
All checks were successful
Release / Release (push) Successful in 34s

This commit is contained in:
Jan Gleytenhoover 2024-08-28 13:10:26 +02:00
parent 0a5d3e11e4
commit 2dbc4d6a28
Signed by: jank
GPG Key ID: B267751B8AE29EFE
3 changed files with 12 additions and 0 deletions

9
Cargo.lock generated

@ -5,3 +5,12 @@ version = 3
[[package]]
name = "jshell"
version = "0.1.0"
dependencies = [
"shell_completion",
]
[[package]]
name = "shell_completion"
version = "0.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "73937c192504363290613e241705a02dff92ae7c03f544e2a69bbef24cc1042c"

@ -4,3 +4,4 @@ version = "0.1.0"
edition = "2021"
[dependencies]
shell_completion = "0.0.2"

@ -1,5 +1,7 @@
use std::{env, io::{stdin, stdout, Write}, path::Path, process::{Child, Command, Stdio}};
use shell_completion::{BashCompletionInput, CompletionInput, CompletionSet};
fn main(){
loop {
println!("");