Phaedrus Leeds 2e0c62d314 run: Implement fuzzy ref matching and alias support
We've had the feature for a long time that allows you to use a substring
instead of a full app ID in the install and uninstall commands. The only
reason I didn't add it to the run command back then was that I wasn't
sure it was ok to add interactive prompts to flatpak-run (it is often
invoked by other programs rather than users directly). But in fact we
already have a prompt in case there's ambiguity about which branch to
use; this commit just repurposes that to also address ambiguity about
which ref to use.

Long story short, this allows you to do "flatpak run firefox" instead of
"flatpak run org.mozilla.firefox".

As discussed in #4848, we let the user avoid needing to respond to a
prompt every time by letting them save the alias (trust-on-first-use).
The aliases can be added, removed, or viewed with the separate alias
command.

Helps: #1258
2022-07-25 21:19:29 -05:00
2019-04-08 12:50:42 +00:00
2022-07-25 21:19:29 -05:00
2022-07-25 21:19:29 -05:00
2021-11-15 10:44:55 +01:00
2021-03-10 10:33:51 +01:00
2018-02-05 15:21:40 +00:00
2022-06-16 15:57:42 -07:00
2022-06-16 15:57:42 -07:00

Flatpak icon

Flatpak is a system for building, distributing, and running sandboxed desktop applications on Linux.

See https://flatpak.org/ for more information.

Community discussion happens in #flatpak:matrix.org, on the mailing list, and on the Flathub Discourse.

Read documentation for Flatpak here.

Contributing

Flatpak welcomes contributions from anyone! Here are some ways you can help:

Hacking

See CONTRIBUTING.md

Related Projects

Here are some notable projects in the Flatpak ecosystem:

  • Flatseal: An app for managing permissions of Flatpak apps without using the CLI
  • Flat-manager: A tool for managing Flatpak repositories
Description
Linux application sandboxing and distribution framework
Readme 60 MiB
Languages
C 91.1%
Shell 5.1%
Python 1.8%
Meson 1.1%
Yacc 0.8%