removed dead code and updated package information
This commit is contained in:
parent
a81226c79c
commit
fab7dec810
4 changed files with 25 additions and 10 deletions
|
@ -1,13 +1,16 @@
|
|||
[package]
|
||||
name = "remux"
|
||||
version = "0.1.2"
|
||||
version = "0.1.3"
|
||||
edition = "2021"
|
||||
authors = [ "Valerie Wolfe <sleeplessval@gmail.com>" ]
|
||||
description = "A friendly command shortener for tmux"
|
||||
repository = "https://git.vwolfe.io/valerie/remux"
|
||||
license = "MIT"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
pico-args = { version = "0.5.0", features = [ "combined-flags", "eq-separator" ] }
|
||||
#ratatui = { version = "0.20.1", features = [ "termion" ] }
|
||||
termion = "2.0.1"
|
||||
tmux_interface = "0.2.1"
|
||||
|
||||
|
@ -17,5 +20,5 @@ lto = true
|
|||
debug = false
|
||||
codegen-units = 1
|
||||
panic = "abort"
|
||||
strip = "debuginfo"
|
||||
strip = "symbols"
|
||||
|
||||
|
|
19
LICENSE
Normal file
19
LICENSE
Normal file
|
@ -0,0 +1,19 @@
|
|||
Copyright (c) 2024 Valerie Wolfe
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
|
@ -11,12 +11,6 @@ pub fn no_target(target: String) {
|
|||
println!("remux: no session \"{target}\" exists");
|
||||
exit(2);
|
||||
}
|
||||
/// no sessions exist; code 2
|
||||
pub fn no_sessions() {
|
||||
println!("remux: no sessions running");
|
||||
println!("use 'remux n <title>' to create a new session");
|
||||
exit(2);
|
||||
}
|
||||
|
||||
/// help topic doesn't exist; code 3
|
||||
pub fn no_help(topic: String) {
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
use std::process::exit;
|
||||
|
||||
use pico_args::Arguments;
|
||||
|
||||
|
|
Loading…
Reference in a new issue