https://github.com/andriykohut/gsem
Command line extension manager for Gnome-Shell
https://github.com/andriykohut/gsem
cli command-line-tool gnome gnome-shell gnome-shell-extension
Last synced: about 1 year ago
JSON representation
Command line extension manager for Gnome-Shell
- Host: GitHub
- URL: https://github.com/andriykohut/gsem
- Owner: andriykohut
- License: mit
- Created: 2015-12-23T19:28:15.000Z (over 10 years ago)
- Default Branch: main
- Last Pushed: 2023-05-07T08:49:19.000Z (about 3 years ago)
- Last Synced: 2024-04-26T05:44:50.262Z (about 2 years ago)
- Topics: cli, command-line-tool, gnome, gnome-shell, gnome-shell-extension
- Language: Python
- Homepage:
- Size: 140 KB
- Stars: 13
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gsem
[](https://pypi.org/project/gsem/)
*gsem* - Command line extension manager for Gnome-Shell
```
usage: gsem [-h]
{ls,enabled,disabled,outdated,info,install,reinstall,uninstall,update,search,enable,disable}
...
Gnome-Shell extension manager
positional arguments:
{ls,enabled,disabled,outdated,info,install,reinstall,uninstall,update,search,enable,disable}
ls list installed extensions
enabled list enabled extensions
disabled list disabled extensions
outdated list outdated extensions
info show extension information
install install extension
reinstall reinstall extension
uninstall uninstall extension
update update extensions
search search extensions
enable enable extension
disable disable extension
optional arguments:
-h, --help show this help message and exit
```
## Installation
### User installation (recommended)
Run `pip install --user gsem`
Make sure you have `"$HOME/.local/bin"` in your `$PATH`.
### Global installation
Run `sudo pip install gsem`
### Updating the package
Run `pip install -U --user gsem` for user installation or `sudo pip install -U gsem` for global installation.
## Features:
* list installed
* list enabled/disabled
* list outdated
* extension info
* search
* enable/disable
* install/uninstall/reinstall
* update
## Contributing
Development on latest python version is preferred, as of now it's 3.9.
To start you'll need the following setup:
Example uses pyenv to install latest python and manage virtualenv. Run the following commands from the root of the repository.
```sh
pyenv install 3.9.2 # install latest python version
pyenv virtualenv 3.9.2 gsem # create gsem virtual environment
pyenv activate gsem # activate the venv
pyenv local gsem # set local python version for the repo
poetry install # install all dependencies inside the virtual environment
pre-commit install # install pre-commit hooks
```
Run all the linters:
```sh
pre-commit run -a
```
## TODO:
* pin