Merge pull request #630 from skyscrapers/expose-context

Expose the context outside of the cmd package.
This commit is contained in:
Andrey Smirnov
2017-09-22 19:20:01 +03:00
committed by GitHub
+5
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
}