angel_cli 2.1.5+2

  • README.md
  • CHANGELOG.md
  • Example
  • Installing
  • Versions
  • 51

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.1.5+1 #

  • Update to inflection2.

2.1.5 #

  • Add shared boilerplates.
  • Remove uncecessary angel_model imports.

2.1.4+1 #

  • Patch part of 'path' renames.

2.1.4 #

  • The migration argument to model just emits an annotation now.
  • Add the ORM boilerplate.

2.1.3 #

  • Fix generation of ORM models.
  • A --project-name to init command.

2.1.2 #

  • No migrations-by-default.

2.1.1 #

  • Edit the way rename runs, leaving no corner unturned.

2.1.0 #

  • Deprecate angel install.
  • Rename projects using snake_case.
  • init now fetches from master.
  • Remove the 1.x option.
  • Add make migration command.
  • Replace {{oldName}} in the rename command.
  • pub get now runs with inheritStdio.

2.0.1 #

  • deploy systemd now has an --install option, where you can immediately spawn the service.

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.

example/main.dart

void main() {
  // This package isn't usable from code.
}

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.1.5+2

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.1.5+2 Apr 17, 2019 Go to the documentation of angel_cli 2.1.5+2 Download angel_cli 2.1.5+2 archive
2.1.5+1 Apr 17, 2019 Go to the documentation of angel_cli 2.1.5+1 Download angel_cli 2.1.5+1 archive
2.1.5 Jan 25, 2019 Go to the documentation of angel_cli 2.1.5 Download angel_cli 2.1.5 archive
2.1.4+1 Jan 12, 2019 Go to the documentation of angel_cli 2.1.4+1 Download angel_cli 2.1.4+1 archive
2.1.4 Jan 12, 2019 Go to the documentation of angel_cli 2.1.4 Download angel_cli 2.1.4 archive
2.1.3 Jan 9, 2019 Go to the documentation of angel_cli 2.1.3 Download angel_cli 2.1.3 archive
2.1.2+1 Dec 31, 2018 Go to the documentation of angel_cli 2.1.2+1 Download angel_cli 2.1.2+1 archive
2.1.2 Dec 31, 2018 Go to the documentation of angel_cli 2.1.2 Download angel_cli 2.1.2 archive
2.1.1 Dec 31, 2018 Go to the documentation of angel_cli 2.1.1 Download angel_cli 2.1.1 archive
2.1.0 Dec 31, 2018 Go to the documentation of angel_cli 2.1.0 Download angel_cli 2.1.0 archive

All 64 versions...

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

We analyzed this package on Apr 22, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.2.0
  • pana: 0.12.14

Platforms

Detected platforms: other

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

Health suggestions

Fix lib/src/commands/rename.dart. (-1.49 points)

Analysis of lib/src/commands/rename.dart reported 3 hints:

line 2 col 1: 'analyzer' is deprecated and shouldn't be used.

line 52 col 9: Future results in async function bodies must be awaited or marked unawaited using package:pedantic.

line 53 col 9: Future results in async function bodies must be awaited or marked unawaited using package:pedantic.

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/init.dart. (-0.50 points)

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

line 268 col 36: Use = to separate a named parameter from its default value.

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

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

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

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

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

line 9 col 59: Use = to separate a named parameter from its default value.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev <3.0.0
analyzer >=0.32.0 <2.0.0 0.34.3 0.36.0
args ^1.0.0 1.5.1
code_builder ^3.0.0 3.2.0
dart_style ^1.0.0 1.2.3 1.2.7
glob ^1.1.0 1.1.7
http ^0.11.3 0.11.3+17 0.12.0+2
inflection2 ^0.4.2 0.4.2
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.4
quiver ^2.0.0 2.0.3
recase ^2.0.0 2.0.1
watcher ^0.9.7 0.9.7+10
yaml ^2.0.0 2.1.15
Transitive dependencies
async 2.2.0
build 1.1.0 1.1.3
build_config 0.3.2
build_daemon 0.2.3 0.5.0
build_resolvers 0.2.3 1.0.4
build_runner 1.2.3 1.3.3
build_runner_core 2.0.1 3.0.3
built_collection 4.2.0
built_value 6.4.0
charcode 1.1.2
collection 1.14.11
convert 2.1.1
crypto 2.0.6
csslib 0.15.0
fixnum 0.10.9
front_end 0.1.9+1 0.1.15
graphs 0.2.0
html 0.14.0+1
http_multi_server 2.0.5
http_parser 3.1.3
js 0.6.1+1
json_annotation 2.2.0
kernel 0.3.9+1 0.3.15
logging 0.11.3+2
matcher 0.12.5
meta 1.1.7
mime 0.9.6+2
package_config 1.0.5
package_resolver 1.0.10
pedantic 1.5.0
plugin 0.2.0+3
pool 1.4.0
pub_semver 1.4.2
reflectable 2.0.10+1
shelf 0.7.5
shelf_web_socket 0.2.3
source_span 1.5.5
stack_trace 1.9.3
stream_channel 2.0.0
stream_transform 0.0.17
string_scanner 1.0.4
term_glyph 1.1.0
timing 0.1.1+1
typed_data 1.1.6
web_socket_channel 1.0.12