Skip to content

GSettings array manipulation made easy from CLI. Implements ls, insert, pop, rm, sort and dedup operations

License

Notifications You must be signed in to change notification settings

rindeal/gsettings-array

Repository files navigation

GSettings Array Utility

A powerful CLI tool to simplify and streamline your interactions with GSettings arrays.

Build Downloads Version Python versions Codecov Commit activity

With this tool, you can perform a variety of tasks, from inserting items into an array to sorting and deduplicating items, all with a few simple commands.

Features

  • 🎯 Insert: Add one or more items to your array at a specified index.
  • 📋 List: Display all items in your array, each on a new line.
  • 🔄 Sort: Sort all items in your array.
  • 🧹 Deduplicate: Remove duplicate items from your array.
  • 🎣 Pop: Print and remove the item at a specified index.
  • Remove: Delete one or more items from your array.
  • 🧼 Clear: Remove all items from your array.

Quick Start

Install using pip:

pip install gsettings-array

Basic usage:

gsettings-array COMMAND SCHEMA KEY [OPTIONS]

For more detailed information, check out our full documentation.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the GPL-3.0-only OR GPL-2.0-only License. See the LICENSE.md file for details.

About

GSettings array manipulation made easy from CLI. Implements ls, insert, pop, rm, sort and dedup operations

Topics

Resources

License

Stars

Watchers

Forks

Languages