Phaedrus Leeds
c7d262b375
app: Disable fuzzy matching if not on a tty
...
As discussed in #4848 , this disables fuzzy matching entirely if stdin or
stdout is not a tty, meaning that something like "flatpak install
firefox" would be treated as incorrect syntax, since this syntax is
intended for interactive CLI use. Even before this commit, "flatpak
install firefox" would error out if run without a tty, since we don't
automatically choose a matching app ID even if there is only one match.
However "flatpak install -y firefox" could work before, but won't any
more. People should be specifying the full app ID in any context other
than a tty.
This commit also introduces a new env var so the unit tests can continue
to check the fuzzy matching behavior, despite them being run without a
tty.
2022-04-21 20:53:46 +01:00
..
2019-10-03 10:42:04 +02:00
2019-12-19 16:52:58 +01:00
2019-12-19 10:33:21 +01:00
2020-05-04 16:32:22 +02:00
2020-11-10 14:32:13 +01:00
2021-02-12 15:58:09 +01:00
2021-04-16 09:13:18 +02:00
2022-04-11 10:32:34 +02:00
2019-09-19 16:53:11 +00:00
2019-09-19 16:53:11 +00:00
2021-01-12 09:55:23 +01:00
2022-04-11 10:32:34 +02:00
2022-04-11 10:32:34 +02:00
2022-04-11 10:32:34 +02:00
2022-04-11 10:32:34 +02:00
2021-01-11 11:05:57 +01:00
2018-05-24 11:59:52 +00:00
2019-02-25 18:12:30 +00:00
2021-02-09 09:36:59 +01:00
2022-04-11 10:32:34 +02:00
2022-04-11 10:32:34 +02:00
2019-10-02 14:57:11 +02:00
2021-11-15 11:10:27 -08:00
2021-06-14 15:30:59 +01:00
2020-11-05 10:43:10 +01:00
2020-12-14 11:25:16 +01:00
2021-02-12 15:58:09 +01:00
2021-04-16 09:13:18 +02:00
2021-04-16 09:13:18 +02:00
2021-02-12 15:58:09 +01:00
2020-06-05 09:35:30 +02:00
2020-06-11 15:57:39 +02:00
2018-08-09 12:49:36 +00:00
2020-03-16 09:29:31 +01:00
2022-04-11 10:32:34 +02:00
2021-04-16 14:49:15 +02:00
2019-10-03 10:42:04 +02:00
2019-11-08 00:30:44 +09:00
2018-04-26 07:41:17 +00:00
2019-12-01 14:04:59 -05:00
2020-03-27 17:23:13 +01:00
2021-05-04 10:23:13 +02:00
2021-04-26 10:30:14 +02:00
2022-04-11 10:32:34 +02:00
2022-02-17 08:29:20 -06:00
2022-02-17 08:29:20 -06:00
2021-02-09 09:34:47 +01:00
2021-02-12 15:58:09 +01:00
2020-03-23 17:58:04 +01:00
2021-10-21 17:30:01 -07:00
2021-02-12 15:58:09 +01:00
2020-03-25 08:52:28 +01:00
2020-11-05 10:43:10 +01:00
2020-11-05 10:43:10 +01:00
2021-02-12 15:58:09 +01:00
2020-07-21 08:59:22 +02:00
2021-02-12 15:58:09 +01:00
2022-04-11 10:32:34 +02:00
2022-04-11 10:32:34 +02:00
2021-10-08 12:53:20 +02:00
2021-05-19 09:49:30 +02:00
2022-04-11 10:31:13 +02:00
2022-01-25 10:03:41 +01:00
2020-12-09 08:34:19 +01:00
2022-04-11 10:32:34 +02:00
2020-08-10 15:20:59 +02:00
2022-04-11 10:32:34 +02:00
2022-04-21 20:53:46 +01:00
2022-04-21 20:53:46 +01:00
2019-12-02 07:45:51 -05:00
2020-06-05 09:35:30 +02:00
2020-06-05 09:35:30 +02:00
2018-05-24 11:59:52 +00:00
2018-10-08 08:36:23 +00:00
2022-04-11 10:32:34 +02:00
2022-04-11 10:32:34 +02:00
2019-04-08 12:50:42 +00:00