portls 0.3.0

Modern cross-platform port inspector - ls for network ports
Documentation
use std::process::Command;

#[test]
fn test_cli_help_runs() {
    let output = Command::new("cargo")
        .args(["run", "--", "--help"])
        .output()
        .expect("Failed to execute command");

    assert!(output.status.success());
    let stdout = String::from_utf8_lossy(&output.stdout);
    assert!(stdout.contains("ports"));
}

#[test]
fn test_cli_version_runs() {
    let output = Command::new("cargo")
        .args(["run", "--", "--version"])
        .output()
        .expect("Failed to execute command");

    assert!(output.status.success());
}