You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
336 B
Python

import subprocess
class Snap:
@staticmethod
def install(packages: list):
subprocess.run(
['snap', 'install'] + packages,
check=True
)
@staticmethod
def remove(packages: list):
subprocess.run(
['snap', 'remove'] + packages,
check=True
)