Implement a --show-app CLI flag
What this adds:
flatseal --show-app org.app.Name
- Adds a new --show-app command-line flag, which takes a Flatpak's appID.
- If the supplied ID matches an installed app, the UI will switch to showing that app.
- If no match is found, nothing happens.
- The flag can be invoked at startup of Flatseal, or while Flatseal is running, and will behave the same.
There is no way to show the Global section, however I can add this if it is desired. Also, I can change the behavior of a non-matching provided ID, if you'd like that to behave differently than doing nothing.
The new flag shows up in the default --help output, with a description.
I believe I have followed Flatseal's coding style to the best of my abilities, but I can always refine what I've added!
Why I think this should be added:
I believe it would be handy for Flatseal to be able to be opened to a specific application, to allow it to be called from other apps or scripts. I am the developer of Warehouse, and I would like to be able to launch Flatseal to a specific app via a button in the UI.
hey @heliguy4599 , I will take a look at this ASAP. Thanks.
Great to hear! You're welcome, and thank you for this wonderful app itself!
In case there's still interest, the idea would be for other apps to invoke this service similarly to how Flatseal invokes GNOME software today.
Superseded by https://github.com/tchx84/Flatseal/pull/799