diff --git a/cmd/context.go b/cmd/context.go index 882642a1..0e6989f8 100644 --- a/cmd/context.go +++ b/cmd/context.go @@ -29,3 +29,8 @@ func InitContext(flags *flag.FlagSet) error { return err } + +// GetContext gives access to the context +func GetContext() *ctx.AptlyContext { + return context +}