feat: add help and version command line arguments

This commit is contained in:
LinuxBoy-96 2025-03-24 14:50:51 -04:00 committed by GitHub
parent e00d8df43a
commit 5b383f669b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 87 additions and 0 deletions

View file

@ -3,6 +3,9 @@ name = "cosmic-greeter"
version = "0.1.0"
edition = "2024"
[build-dependencies]
vergen = { version = "8", features = ["git", "gitcl"] }
[dependencies]
chrono = { version = "0.4", features = ["unstable-locales"] }
cosmic-bg-config.workspace = true
@ -42,6 +45,8 @@ nix = { workspace = true, optional = true }
upower_dbus = { git = "https://github.com/pop-os/dbus-settings-bindings", rev = "badfc6a", optional = true }
# Required for some features
zbus = { workspace = true, optional = true }
# CLI arguments
lexopt = "0.3.0"
# Internationalization
i18n-embed = { version = "0.14", features = [
"fluent-system",