[snap] feature -> allowing to select an available channel during the installation process

This commit is contained in:
Vinicius Moreira
2020-09-06 01:10:13 -03:00
parent bf6361a6d1
commit 26fa25cebb
20 changed files with 135 additions and 14 deletions

7
bauh/gems/snap/config.py Normal file
View File

@@ -0,0 +1,7 @@
from bauh.commons.config import read_config as read
from bauh.gems.snap import CONFIG_FILE
def read_config(update_file: bool = False) -> dict:
template = {'install_channel': False}
return read(CONFIG_FILE, template, update_file=update_file)