/gsettings-array

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

Primary LanguagePythonOtherNOASSERTION

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.