enge 0.4.0

  • Readme
  • Changelog
  • Installing
  • 69

enge #

pub.dev

An structure builder for optimize the development for Flutter. The method is based on Laravel's way of doing this.

Installing #

If you want to use Stagehand on the command line, install it using pub global activate:

> pub global activate enge

Usage #

Enge works in the current active directory. So, to generate the structures in the correct directory, you must call the tool in the your root directory of your project.

Building pages #

To build a new page you must execute:

> enge make:page {PAGE_NAME}

Building components #

To build a new component you must execute:

> enge make:component {COMPONENT_NAME}

Building migrations #

To build a new migration you must execute:

> enge make:migration {MIGRATION_NAME}

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

[0.4.0] - 2019-12-30

Fixed: #

  • Invalid migration class name.

Added: #

  • enge init command.

[0.3.1] - 2019-12-24

Fixed: #

  • Invalid class names in page template.

[0.3.0] - 2019-12-24

Added: #

  • enge make:migration command.
  • Small general improvements.

[0.2.1] - 2019-12-22

Fixed: #

  • General package identification problems.

[0.2.0] - 2019-12-15

Added: #

  • Pub.dev version badge on Readme.

[0.1.1] - 2019-12-15

Fixed: #

  • Invalid file copy directories.

[0.1.0] - 2019-12-15

Added: #

  • Strucutre convertion to answer Dart packages standard.

[0.0.2] - 2019-12-14

Fixed: #

  • Minor code issues reported in pub.dev.

[0.0.1] - 2019-12-13

First version with initial source code.

Use this package as an executable

1. Install it

You can install the package from the command line:


$ pub global activate enge

2. Use it

The package has the following executables:


$ enge

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  enge: ^0.4.0

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:enge/commands/init_command.dart';
import 'package:enge/commands/make_component_command.dart';
import 'package:enge/commands/make_migration_command.dart';
import 'package:enge/commands/make_page_command.dart';
import 'package:enge/init/init.dart';
import 'package:enge/makers/component_maker.dart';
import 'package:enge/makers/maker.dart';
import 'package:enge/makers/migration_maker.dart';
import 'package:enge/makers/page_maker.dart';
import 'package:enge/support/script_location.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
41
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
90
Overall:
Weighted score of the above. [more]
69
Learn more about scoring.

We analyzed this package on Jan 19, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.0
  • pana: 0.13.4

Maintenance suggestions

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and enge.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.6.0 <3.0.0
args ^1.5.0 1.5.2
cooker ^1.0.2 1.1.0
intl ^0.16.0 0.16.1
path ^1.6.4 1.6.4
slugify ^1.0.0 1.0.0
sprintf ^4.0.2 4.0.2
Dev dependencies
test ^1.9.4