Expose the context outside of the cmd package.

This commit is contained in:
Ringo De Smet
2017-08-09 08:39:58 +02:00
parent e0aaa8bb80
commit 91a3dc9e94

View File

@@ -29,3 +29,8 @@ func InitContext(flags *flag.FlagSet) error {
return err
}
// GetContext gives access to the context
func GetContext() *ctx.AptlyContext {
return context
}