Skip to content

Commit

Permalink
feat(flatpak): add nointeractive flags on install command
Browse files Browse the repository at this point in the history
  • Loading branch information
remigermain committed Oct 27, 2024
1 parent a087af7 commit 37483a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions meta_package_manager/managers/flatpak.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,9 @@ def install(self, package_id: str, version: str | None = None) -> str:
.. code-block:: shell-session
► flatpak install org.gnome.Dictionary
► flatpak install --noninteractive org.gnome.Dictionary
"""
return self.run_cli("install", package_id)
return self.run_cli("install", "--noninteractive", package_id)

Check warning on line 184 in meta_package_manager/managers/flatpak.py

View check run for this annotation

Codecov / codecov/patch

meta_package_manager/managers/flatpak.py#L184

Added line #L184 was not covered by tests

def upgrade_all_cli(self) -> tuple[str, ...]:
"""Generates the CLI to upgrade all packages (default) or only the one provided
Expand Down

0 comments on commit 37483a7

Please sign in to comment.