Skip to main content

Crate proc_cli

Crate proc_cli 

Source
Expand description

§proc - Semantic Process Management CLI

Semantic CLI tool for process management. Target by port, PID, name or path.

§Features

  • Unified Targets: :port, PID, and name work the same everywhere
  • Multi-Target: proc kill :3000,:8080,node - comma-separated targets
  • Query Language: proc by node --in . - composable filters
  • Cross-Platform: macOS, Linux, and Windows
  • Shell Completions: bash, zsh, fish via proc completions
  • Man Pages: proc manpage generates documentation

§Quick Start

# What's on port 3000?
proc on :3000

# Kill multiple targets
proc kill :3000,:8080,node -y

# Node processes in current directory
proc by node --in .

# Preview before killing
proc kill node --dry-run

# Generate shell completions
proc completions zsh > ~/.zsh/completions/_proc

§Commands

Discovery: on, by, in, list, info, ports, tree, stuck

Lifecycle: kill, stop, unstick

Tooling: completions, manpage

Re-exports§

pub use error::ProcError;
pub use error::Result;

Modules§

commands
CLI command implementations
core
Core abstractions for process and port management
error
Error types for proc CLI
ui
User interface components for proc CLI

Constants§

VERSION
Library version