CLI for COSMIC Desktop configuration management.
cosmic-ctl (short for COSMIC configuration utilities) is a command-line interface for managing the configuration of the COSMIC Desktop. It allows users to read, write, delete, and backup configuration entries for various components.
- Write: Add or update a configuration.
- Read: Retrieve a configuration value.
- Delete: Remove a configuration.
- Apply: Write configurations from a JSON file.
- Backup: Backup all configuration entries to a JSON file.
You can build this project using Cargo:
cargo build --release
- Write
cosmic-ctl write --component <component> --entry <entry> --version <version> <value>
- Read
cosmic-ctl read --component <component> --entry <entry> --version <version>
- Delete
cosmic-ctl delete --component <component> --entry <entry> --version <version>
- Apply
cosmic-ctl apply /path/to/json/file
- Backup
cosmic-ctl backup /path/to/output/json/file
This project is licensed under the GPL-3.0-only
license. See the LICENSE for details.