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']);
}
5
likes
140
pub points
46%
popularity

Publisher

verified publishershoh.dev

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