mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-01-12 03:21:33 +00:00
Expose the context outside of the cmd package.
This commit is contained in:
@@ -29,3 +29,8 @@ func InitContext(flags *flag.FlagSet) error {
|
||||
|
||||
return err
|
||||
}
|
||||
|
||||
// GetContext gives access to the context
|
||||
func GetContext() *ctx.AptlyContext {
|
||||
return context
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user