docs: async function getContextInfo(props = {}) {
  	const { environment = 'stage', filename, context = {}, pod = {} } = props
  	return readPkgUp()
  		.then(package => {
  			defaults(context, {
  				name: get(package, 'pkg.name'),
  				description: get(package, 'pkg.description'),
  				contentType: 'application/x-yaml',
  				environment: environment || 'stage',
  			})
  			const profilename = config.has(context.name) ? context.name : 'default'
  			defaults(pod, {
  				url: config.get(`${profilename}.pod.url`) || config.get('default.pod.url'),
  				secret: config.get(`${profilename}.pod.secret`) || config.get('default.pod.secret')
  			})
  
  			context.dirname = (package && package.path) ? path.dirname(package.path) : path.join(process.cwd(), context.name)
  			context.filename = filename || `${context.name}.cdef.yaml`
  			context.filepath = path.join(context.dirname, context.filename)
  
  			const segment = ['/public/context']
  			if (typeof context.environment === 'string' && context.environment !== 'production' && !props.production) {
  				segment.push(context.environment)
  			}
  
  			segment.push(context.filename)
  			context.url = url.resolve(pod.url, path.join(...segment))
  			return { ...props, context, pod }
  		})
  		.catch(error => {
  			logger.error(error.message, error)
  			throw new Error(error.message)
  		})
  }