Skip to main content

Crate kilar

Crate kilar 

Source
Expand description

§kilar

A powerful CLI tool for managing port processes on your system.

§Features

  • Check port usage status
  • Kill processes using specific ports
  • List all ports in use with filtering and sorting options
  • Interactive process selection for termination
  • JSON output support for scripting

§Example

use kilar::commands::CheckCommand;

#[tokio::main]
async fn main() {
    // Check if port 3000 is in use
    CheckCommand::execute(3000, "tcp", false, false, false, false).await.unwrap();
}

Re-exports§

pub use error::Error;
pub use error::Result;

Modules§

cli
commands
error
port
process
utils