guumaster / hostctl

Your dev tool to manage /etc/hosts like a pro!

Home Page:http://guumaster.github.io/hostctl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support to stdin input as workaround for snap strict confinement

guumaster opened this issue · comments

The snap package is published on a strict confinement and cannot read any file outside it, so the input --from /any/file is a problem.

A workaround is to accept stdin input instead. Ex: hostctl add -p some < /path/to/file.