fcnui 1.0.6 copy "fcnui: ^1.0.6" to clipboard
fcnui: ^1.0.6 copied to clipboard

The fcnui CLI (Command-Line Interface) tool. It is used to generate component code for the fcnui package.

example/lib/main.dart

// ignore_for_file: avoid_print

import 'dart:io';

Future<ProcessResult> run(List<String> args) async {
  final process = await Process.run('fcnui', args);
  print(process.stdout.toString());
  return process;
}

void main() {
  //invalid command
  // invalidCommand();

  //init
  // initialize();

  //add button
  // addButton();

  //version
  // version();

  //help
  // help();

  //remove
  remove();
}

void invalidCommand() {
  run([]);
}

void initialize() {
  run(['init']);
}

void addButton() {
  run(['add', 'button']);
}

void version() {
  run(['version']);
}

void help() {
  run(['help']);
}

void remove() {
  run(['remove', 'button']);
}
6
likes
160
points
64
downloads

Publisher

verified publishershoh.dev

Weekly Downloads

The fcnui CLI (Command-Line Interface) tool. It is used to generate component code for the fcnui package.

Homepage
Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

dio, fpdart, yaml_edit

More

Packages that depend on fcnui