pathmaster 0.3.0

pathmaster is a powerful command-line tool written in Rust for managing your system's PATH environment variable.
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::io;
use std::path::PathBuf;

pub mod factory;
pub mod handlers;
pub mod types;

pub use self::handlers::ShellHandler;

pub fn update_shell_config(entries: &[PathBuf]) -> io::Result<()> {
    let handler = factory::get_shell_handler();
    handler.update_config(entries)
}