Commit graph

9 commits

Author SHA1 Message Date
3002e19e2c
🐛 (flatpak-sync) Fix usage text
Refs: #2
2023-07-20 22:08:37 +02:00
e1af6b7c3d
(flatpak-sync) Improve logging output
Closes #2
2023-07-20 22:03:59 +02:00
00fc8ea318
(flatpak-sync) Fail add/remove if app id is commented out
Handling commented out apps would perhaps be interesting to add in the
future. But at this point I think the the people using this script
either want to go fully declarative and not use the add/remove
commands at all or do not want to edit the apps list file themselves
and therefore will not have and comments in them.

Refs: #1
2023-07-20 21:54:09 +02:00
38fe45f724
(flatpak-sync) Add remove/uninstall command
The remove/uninstall command takes a application id as a second
parameter and removes it from the apps list. Afterwards the sync method
is called.

Refs: #1
2023-07-20 21:48:41 +02:00
47cf7333b6
(flatpak-sync) Add add/install command
The add/install command takes a application id as a second parameter
and appends it to the apps list. Afterwards the sync method is called.

Refs: #1
2023-07-20 21:39:43 +02:00
921aa2e033
🚨 (flatpak-sync) Ignore two irrelevant shellcheck warnings 2023-07-20 21:07:51 +02:00
0a66eb9fb6
♻ (flatpak-sync) Put code in own method
The new method sync is at this point always called
2023-07-20 21:06:42 +02:00
c514a973b9
📄 (flatpak-sync) Add license 2023-07-20 21:01:00 +02:00
d1305cf574
(flatpak-sync) Add script for declaring flatpak apps 2023-07-18 23:35:56 +02:00