Skip to content

Commit cc58b7f

Browse files
Merge branch 'main' into tui_for_top
2 parents e521d10 + eaf0ae2 commit cc58b7f

File tree

10 files changed

+649
-67
lines changed

10 files changed

+649
-67
lines changed

Cargo.lock

+113-37
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+3-1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ feat_common_core = [
3535
"pwdx",
3636
"slabtop",
3737
"snice",
38+
"pkill",
3839
"top",
3940
"w",
4041
"watch",
@@ -59,7 +60,7 @@ textwrap = { version = "0.16.1", features = ["terminal_size"] }
5960
thiserror = "2.0.4"
6061
uucore = "0.0.28"
6162
walkdir = "2.5.0"
62-
windows = { version = "0.58.0" }
63+
windows = { version = "0.59.0" }
6364
xattr = "1.3.1"
6465
ratatui = "0.26.1"
6566
crossterm = "0.28.1"
@@ -84,6 +85,7 @@ ps = { optional = true, version = "0.0.1", package = "uu_ps", path = "src/uu/ps"
8485
pwdx = { optional = true, version = "0.0.1", package = "uu_pwdx", path = "src/uu/pwdx" }
8586
slabtop = { optional = true, version = "0.0.1", package = "uu_slabtop", path = "src/uu/slabtop" }
8687
snice = { optional = true, version = "0.0.1", package = "uu_snice", path = "src/uu/snice" }
88+
pkill = { optional = true, version = "0.0.1", package = "uu_pkill", path = "src/uu/pkill" }
8789
top = { optional = true, version = "0.0.1", package = "uu_top", path = "src/uu/top" }
8890
w = { optional = true, version = "0.0.1", package = "uu_w", path = "src/uu/w" }
8991
watch = { optional = true, version = "0.0.1", package = "uu_watch", path = "src/uu/watch" }

src/uu/pkill/Cargo.toml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
[package]
2+
name = "uu_pkill"
3+
version = "0.0.1"
4+
edition = "2021"
5+
authors = ["uutils developers"]
6+
license = "MIT"
7+
description = "pgrep ~ (uutils) Kills processes based on name and other attributes."
8+
9+
homepage = "https://github.com/uutils/procps"
10+
repository = "https://github.com/uutils/procps/tree/main/src/uu/pkill"
11+
keywords = ["acl", "uutils", "cross-platform", "cli", "utility"]
12+
categories = ["command-line-utilities"]
13+
14+
15+
[dependencies]
16+
uucore = { workspace = true }
17+
clap = { workspace = true }
18+
walkdir = { workspace = true }
19+
regex = { workspace = true }
20+
nix = { workspace = true, features = ["signal"] }
21+
22+
uu_pgrep = { path = "../pgrep" }
23+
24+
[lib]
25+
path = "src/pkill.rs"
26+
27+
[[bin]]
28+
name = "pkill"
29+
path = "src/main.rs"

0 commit comments

Comments
 (0)