Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

cosmic-utils/cosmic-ctl

Open more actions menu

Repository files navigation

cosmic-ctl

CLI for COSMIC Desktop configuration management.

Overview

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.

Features

  • 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.

Installation

Build from source

You can build this project using Cargo:

cargo build --release

Usage

Commands

  • 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

LICENSE

This project is licensed under the GPL-3.0-only license. See the LICENSE for details.

Sponsor this project

 

Packages

No packages published

Contributors 2

  •  
  •  
Morty Proxy This is a proxified and sanitized view of the page, visit original site.