Skip to content

Add scaffoliding functions to the CLI #1

Description

@pfiaux

The goal would be that after installing the CLI into a development repository (or using it globally) it could be used to scaffold a basic SDK Driver without having to copy/paste modify code.

The initial target would be to setup a new driver easily and quickly:

neeo-cli init

Then prompt

  • Device name (text input)
  • Type (list)
  • Manufacturer (text input)
  • Button or button group (at least 1 control is needed for a valid driver)
    • Button name (text input)
    • Button label (text input)
    • Add another button (yes/no)
  • Nice additional options
    • Discovery (yes/no)
    • Notifications (yes/no)
    • Device subscription (yes/no)
    • Capabilities (list)

Then it would prompt some questions and generate a skeleton index and controller with the basic type, name and such.

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope CLIIssues concerning the @neeo/cli module

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions