appium / appium-doctor

[Deprecated] Please use https://github.com/appium/appium/tree/master/packages/doctor
Apache License 2.0
128 stars 34 forks source link

Allow package to be used as a module #134

Closed christian-bromann closed 1 year ago

christian-bromann commented 1 year ago

Hey,

I would be interested to integrate appium-doctor into the WebdriverIO set-up wizard. For that I would love to make this tool consumable as a module so I can import and run it with arguments, e.g.:

import { check } from 'appium-doctor'

const result = await check(args)

Where result is an object with the results that allows one to print it somewhere or take own actions.

KazuCocoa commented 1 year ago

btw, this repo is going to be part of appium main repo as https://github.com/appium/appium/tree/master/packages/doctor in Appium 2.0

christian-bromann commented 1 year ago

Gotcha. Had a conversation in the Appium channel and we figured out a way forward. Cheers!