angel_cli 2.0.0

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 49

angel_cli

Screenshot of Terminal

Command-line tools for the Angel framework. Includes functionality such as:

  • Project scaffolding
  • Generating service models, plugins, tests and more
  • Renaming projects
  • Much more...

To install:

$ pub global activate angel_cli

And then, for information on each command:

$ angel help

2.0.0

  • init can now produce either 1.x or 2.x projects.
  • Fixed deps for compatibility with Dart2 stable.

1.3.4

  • Fix another typo.

1.3.3

  • Fix a small typo in the model generator.

1.3.2

  • Restore part directives in generated models.

1.3.1

  • Add deploy nginx and deploy systemd.

1.3.0

  • Focus on Dart2 from here on out.
  • Update code_builder.
  • More changes...

1.1.5

Deprecated several commands, in favor of the make command:

  • controller
  • plugin
  • service
  • test

The rename command will now replace all occurrences of the old project names with the new one in config/ YAML files, and also operates on the glob config/**/*.yaml.

Changed the call to run angel start to run dart bin/server.dart instead, after an init command.

Use this package as an executable

1. Install it

You can install the package from the command line:


$ pub global activate angel_cli

2. Use it

The package has the following executables:


$ angel

Use this package as a library

1. Depend on it

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


dependencies:
  angel_cli: ^2.0.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:angel_cli/angel_cli.dart';
  
Version Uploaded Documentation Archive
2.0.0 Oct 4, 2018 Go to the documentation of angel_cli 2.0.0 Download angel_cli 2.0.0 archive
1.3.4 Jul 15, 2018 Go to the documentation of angel_cli 1.3.4 Download angel_cli 1.3.4 archive
1.3.3 Jul 15, 2018 Go to the documentation of angel_cli 1.3.3 Download angel_cli 1.3.3 archive
1.3.2 Jul 15, 2018 Go to the documentation of angel_cli 1.3.2 Download angel_cli 1.3.2 archive
1.3.1 Jul 15, 2018 Go to the documentation of angel_cli 1.3.1 Download angel_cli 1.3.1 archive
1.3.0 Jul 14, 2018 Go to the documentation of angel_cli 1.3.0 Download angel_cli 1.3.0 archive
1.2.0+5 Oct 20, 2017 Go to the documentation of angel_cli 1.2.0+5 Download angel_cli 1.2.0+5 archive
1.2.0+4 Oct 20, 2017 Go to the documentation of angel_cli 1.2.0+4 Download angel_cli 1.2.0+4 archive
1.2.0+3 Oct 20, 2017 Go to the documentation of angel_cli 1.2.0+3 Download angel_cli 1.2.0+3 archive
1.2.0+2 Oct 20, 2017 Go to the documentation of angel_cli 1.2.0+2 Download angel_cli 1.2.0+2 archive

All 54 versions...

Popularity:
Describes how popular the package is relative to other packages. [more]
21
Health:
Code health derived from static analysis. [more]
95
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
50
Overall:
Weighted score of the above. [more]
49
Learn more about scoring.

We analyzed this package on Dec 5, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.1.0
  • pana: 0.12.7

Platforms

Detected platforms: other

Primary library: package:angel_cli/angel_cli.dart with components: io, mirrors.

Health suggestions

Fix lib/src/commands/make/maker.dart. (-1.99 points)

Analysis of lib/src/commands/make/maker.dart reported 4 hints:

line 2 col 8: Unused import: 'dart:io'.

line 4 col 8: Unused import: 'package:pubspec_parse/pubspec_parse.dart'.

line 5 col 8: Unused import: 'package:pub_semver/pub_semver.dart'.

line 6 col 8: Unused import: '../pub.dart'.

Fix lib/src/commands/make/service.dart. (-1 points)

Analysis of lib/src/commands/make/service.dart reported 2 hints:

line 8 col 8: Unused import: 'package:pubspec_parse/pubspec_parse.dart'.

line 36 col 9: The value of the local variable 'pubspec' isn't used.

Fix lib/src/commands/install.dart. (-0.50 points)

Analysis of lib/src/commands/install.dart reported 1 hint:

line 5 col 8: Unused import: 'package:io/ansi.dart'.

Fix additional 3 files with analysis or formatting issues. (-1.50 points)

Additional issues in the following files:

  • lib/src/commands/make/controller.dart (1 hint)
  • lib/src/commands/make/model.dart (1 hint)
  • lib/src/commands/rename.dart (1 hint)

Maintenance issues and suggestions

Use constrained dependencies. (-20 points)

The pubspec.yaml contains 3 dependencies without version constraints. Specify version ranges for the following dependencies: analyzer, inflection, quiver.

The description is too short. (-20 points)

Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use angel_cli.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev <3.0.0
analyzer >=0.32.0 0.33.6 0.34.0
args ^1.0.0 1.5.1
code_builder ^3.0.0 3.1.3
dart_style ^1.0.0 1.2.0 1.2.1
glob ^1.1.0 1.1.7
http ^0.11.3 0.11.3+17 0.12.0
inflection 0.4.1
io ^0.3.2 0.3.3
mustache4dart ^3.0.0-dev.1.0 3.0.0-dev.1.0
path ^1.0.0 1.6.2
prompts ^1.0.0 1.1.0
pubspec_parse ^0.1.2 0.1.2+3
quiver >=0.29.0 2.0.1
recase ^2.0.0 2.0.0+1
watcher ^0.9.7 0.9.7+10
yaml ^2.0.0 2.1.15
Transitive dependencies
async 2.0.8
build 1.0.1
build_config 0.3.1+4
build_resolvers 0.2.2+6
build_runner 1.1.2
build_runner_core 1.1.1
built_collection 4.1.0
built_value 6.1.6
charcode 1.1.2
collection 1.14.11
convert 2.0.2
crypto 2.0.6
csslib 0.14.6
fixnum 0.10.9
front_end 0.1.6+8 0.1.7
graphs 0.1.3+1
html 0.13.3+3
http_multi_server 2.0.5
http_parser 3.1.3
js 0.6.1+1
json_annotation 2.0.0
kernel 0.3.6+8 0.3.7
logging 0.11.3+2
matcher 0.12.4
meta 1.1.6
mime 0.9.6+2
package_config 1.0.5
package_resolver 1.0.6
pedantic 1.3.0
plugin 0.2.0+3
pool 1.3.6
pub_semver 1.4.2
reflectable 2.0.8
shelf 0.7.3+3
shelf_web_socket 0.2.2+4
source_span 1.4.1
stack_trace 1.9.3
stream_channel 1.6.8
stream_transform 0.0.14+1
string_scanner 1.0.4
timing 0.1.1+1
typed_data 1.1.6
utf 0.9.0+5
web_socket_channel 1.0.9