Handle flags for packages pulled from the index.

Signed-off-by: Magnus Therning <magnus@therning.org>
Remove support for Cabal files via URLs.

Signed-off-by: Magnus Therning <magnus@therning.org>
Add flag parsing to packages added via files.

Signed-off-by: Magnus Therning <magnus@therning.org>