Crates.io | apps |
lib.rs | apps |
version | 0.2.2 |
source | src |
created_at | 2023-10-21 12:01:58.479581 |
updated_at | 2023-10-26 12:04:00.952822 |
description | Helps you to create application launchers in gnome based desktops |
homepage | |
repository | https://github.com/jgardona/apps |
max_upload_size | |
id | 1009998 |
size | 40,184 |
Manage your local application folder. You can list, count, create and remove desktop launcher files.
cargo install apps
$ apps -h
Helps you to create application launchers in gnome based desktops
Usage: apps <COMMAND>
Commands:
read Reads data from application's folder
create Creates a new application launcher
remove Removes an application launcher from folder
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
-V, --version Print version
$ apps read --list
+--------------------+
| name |
+--------------------+
| texstudio.desktop |
+--------------------+
| krita.desktop |
+--------------------+
| inkscape.desktop |
+--------------------+
$ apps create "example" "example.icon" "executable" "example comment"
$ apps read -l
+-------------------+
| name |
+-------------------+
| inkscape.desktop |
+-------------------+
| krita.desktop |
+-------------------+
| texstudio.desktop |
+-------------------+
| example.desktop |
+-------------------+
$ apps remove example
Application removed
$ apps read -l
+-------------------+
| name |
+-------------------+
| inkscape.desktop |
+-------------------+
| krita.desktop |
+-------------------+
| texstudio.desktop |
+-------------------+
$ apps read --count
Number of local applications: 5
The tests cant run on multithread environment, because the concurrent file access will break the process, then use the test.sh script in folder.