G-Node / gin-cli

Command line client for GIN
https://gin.g-node.org
Other
12 stars 6 forks source link

gincmd should interface with ginclient only #277

Open achilleas-k opened 4 years ago

achilleas-k commented 4 years ago

The top-level commands should only import ginclient (from the subpackages of gin-cli). This means the ginclient will have to expose the functionality of all the other subpackages that might be directly useful.

This change will make the ginclient package a complete layer on top of things like os.Exec, git and git-annex commands, and configuration management. Then the gincmd package will simply be responsible for exposing that functionality to the command line.