Metadata-Version: 2.4
Name: ecdysys
Version: 0.1.9
Summary: Python CLI to update your system packages
Project-URL: Repository, https://github.com/claymorwan/ecdysys
Project-URL: Issues, https://github.com/claymorwan/ecdysys/issues
Project-URL: changelog, https://github.com/claymorwan/ecdysys/blob/main/CHANGELOG.md
Author-email: claymorwan <claymorwan@fembois.dev>
License-Expression: MIT
License-File: LICENSE
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.13
Requires-Dist: colorama==0.4.6
Requires-Dist: yaspin>=3.1.0
Description-Content-Type: text/markdown

# Ecdysys
[![](https://img.shields.io/github/v/release/claymorwan/ecdysys)](https://GitHub.com/claymorwan/ecdysys)

Little CLI tool to print and update system
Currently supported package managers are:
- `pacman` (requires `pacman-contrib` as well)
- `yay` and `paru` (aur support)
- `dnf`
- `flatpak`

## Installation
### From Pypi
```shell
pip install ecdysys
```
### From the Aur
```shell
paru -S python-ecdysys
```
2. Create a `config.toml` file, these are the following entry available

| Entry                    | Usage                                                     | Valid entry                                           | Example                       |
|--------------------------|-----------------------------------------------------------|-------------------------------------------------------|-------------------------------|
| `pkg_managers`*          | package manager to use                                    | any of the supported package manager (list of string) | `[ "pacman", "flatpak" ]`     |
| `aur_helper`             | aur helper to use (`pacman` must be set in `pkg_managers` | any of the supported aur helper (string)              | `"paru"`                      |
| `post_install_script`    | path to script ot run after installation                  | path to file (string)                                 | `path/to/script`              |
| `args_<package manager>` | arguments for any of the selected package manager         | string                                                | `args_pacman = "--noconfirm"` |
| `sudobin`                | sudobin executable ame or path                            | string                                                | `sudo-rs`; `/usr/bin/sudo-rs` |

*Must be set

## Usage
```
usage: ecdysys [-h] [-v] [-l] [-u] [--no-spinner]

Python CLI to update your system packages

options:
  -h, --help     show this help message and exit
  -v, --version  Print version
  -l, --list     List available updates
  -u, --update   Update package
  --no-spinner   Doesn't show spinner when listing updates
```
