Crates.io | userkit |
lib.rs | userkit |
version | |
source | src |
created_at | 2025-02-02 10:06:54.838365+00 |
updated_at | 2025-03-02 16:50:46.584672+00 |
description | A unified cross-platform CLI tool for user management, providing consistent interface for user operations |
homepage | https://github.com/pavi2410/userkit |
repository | https://github.com/pavi2410/userkit |
max_upload_size | |
id | 1539432 |
Cargo.toml error: | TOML parse error at line 17, column 1 | 17 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
UserKit is a comprehensive command-line interface (CLI) tool built in Rust for simplifying user management across different operating systems. It provides a consistent interface for common user management tasks that are typically scattered across various commands with different syntaxes.
If you have Rust and Cargo installed, you can install UserKit directly from crates.io:
cargo install userkit
git clone https://github.com/pavi2410/userkit.git
cd userkit
cargo install --path .
UserKit follows a consistent command structure:
userkit <domain> <action> [options]
List all users in table format:
userkit user list --format table
Add a new user:
userkit user add username --home-dir /home/username
Get detailed information about a user:
userkit user info username
Start a shell session:
userkit user shell --username username
Execute a command as another user:
userkit user shell --username username "command"
cargo build
cargo test
Contributions are welcome! Please feel free to submit a Pull Request.
git checkout -b feature/amazing-feature
)git commit -m 'Add some amazing feature'
)git push origin feature/amazing-feature
)This project is licensed under the MIT License - see the LICENSE file for details.