INNER CODE UNIT · TypeScript

createAdb

yume-chan/ya-webadb · apps/cli/src/index.ts:124

async function createAdb(options: DeviceCommandOptions) {
    const client = createClient();
    return await client.createAdb(
        options.d
            ? {
                  usb: true,
              }
            : options.e
              ? {
                    tcp: true,
                }
              : options.s !== undefined
                ? {
                      serial: options.s,
                  }
                : options.t !== undefined
                  ? {
                        transportId: options.t,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…