home_widget_cli

CLI to scaffold and generate native HomeScreen widget code.

home_widget_cli

home_widget_cli is a Dart command-line tool that helps you set up the native parts of a HomeScreen widget for the home_widget Flutter plugin.

It can:

Installation

Add it as a dev dependency in your Flutter app:

dev_dependencies:
  home_widget_cli: ^0.0.1

Then invoke it via dart run:

dart run home_widget_cli <command> [arguments]

Global options

OptionDescription
--versionPrint the CLI version.
--verboseEnable verbose output.
-h, --helpPrint usage information.

Commands

CommandDescription
createCreate placeholder native structure for a new widget.
generateGenerate native widget code from a home_widget_generator schema.