mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2025-02-24 01:47:02 +00:00
Changes: Separate cli flags and put them in their own module. Add a rustfmt configuration file for grouping imports into crates (so we dont have to do this manually, and it seems we were already doing it manually so might as well) Use comments to describe cli flags instead of using ugly syntax (they both work the same but one is less ugly and more readable) Add a --mouse flag to enable mouse interaction (mouse interaction is now off by default) Add a --bypass-root flag to disable the annoying popup when you run the utility as root Fix an issue where you can't reach the bottom of the list in a subdir (i also reduced the nesting in those functions as well for readability) Add help feature to clap dependency to enable --help / -h Add usage feature to clap dependency to enable usage example when running with --help / -h Remove CLI arg examples from readme, and add instructions on how to view them on CLI to prevent it from bloating up the readme
34 lines
1.3 KiB
TOML
34 lines
1.3 KiB
TOML
[package]
|
|
name = "linutil_tui"
|
|
description = "Chris Titus Tech's Linux Toolbox - Linutil is a distro-agnostic toolbox designed to simplify everyday Linux tasks."
|
|
documentation = "https://christitustech.github.io/linutil"
|
|
readme = "../README.md"
|
|
edition = "2021"
|
|
license.workspace = true
|
|
repository = "https://github.com/ChrisTitusTech/linutil/tree/main/tui"
|
|
version.workspace = true
|
|
include = ["src/*.rs", "Cargo.toml", "cool_tips.txt", "../man/linutil.1"]
|
|
|
|
[features]
|
|
default = ["tips"]
|
|
tips = ["rand"]
|
|
|
|
[dependencies]
|
|
clap = { version = "4.5.20", features = ["derive", "std", "help", "usage"], default-features = false }
|
|
oneshot = { version = "0.1.8", features = ["std"], default-features = false }
|
|
portable-pty = "0.8.1"
|
|
ratatui = { version = "0.29.0", features = ["crossterm"], default-features = false }
|
|
tui-term = { version = "0.2.0", default-features = false }
|
|
time = { version = "0.3.36", features = ["formatting", "local-offset", "macros"], default-features = false }
|
|
unicode-width = { version = "0.2.0", default-features = false }
|
|
rand = { version = "0.8.5", optional = true }
|
|
linutil_core = { version = "25.1.10", path = "../core" }
|
|
tree-sitter-highlight = "0.24.4"
|
|
tree-sitter-bash = "0.23.3"
|
|
nix = { version = "0.29.0", features = [ "user" ] }
|
|
vt100-ctt = "0.16.0"
|
|
|
|
[[bin]]
|
|
name = "linutil"
|
|
path = "src/main.rs"
|