@tuyapi/cli

1.18.3 • Public • Published

tuyapi/cli Build Status XO code style

A CLI for Tuya devices.

Installation

npm i @tuyapi/cli -g

Usage

> tuya-cli help

  Usage: tuya-cli [options] [command]

  Options:
    -V, --version       output the version number
    -h, --help          display help for command

  Commands:
    cloud [options]
    link [options]      link a new device
    get [options]       get a property on a device
    set [options]       set a property on a device
    list                list all locally saved devices
    list-app [options]  list devices from Tuya Smart app (deprecated)
    mock [options]      mock a Tuya device for local testing
    wizard [options]    list devices from an offical app
    help                output usage information

Development

  1. After cloning, run npm i.
  2. To run tests, run npm test.

/@tuyapi/cli/

    Package Sidebar

    Install

    npm i @tuyapi/cli

    Weekly Downloads

    160

    Version

    1.18.3

    License

    MIT

    Unpacked Size

    24.8 kB

    Total Files

    15

    Last publish

    Collaborators

    • apollon77
    • codetheweb
    • tuyapi-ci