angel_cli 1.2.0+5

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 50

angel_cli

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

  • Project scaffolding
  • Generating service models, plugins, tests and more
  • Renaming projects
  • Starting server with live reloading

To install:

$ pub global activate angel_cli

And then, for information on each command:

$ angel --help

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: "^1.2.0+5"

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
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
1.2.0+1 Oct 20, 2017 Go to the documentation of angel_cli 1.2.0+1 Download angel_cli 1.2.0+1 archive
1.2.0 Oct 20, 2017 Go to the documentation of angel_cli 1.2.0 Download angel_cli 1.2.0 archive
1.1.5+2 Aug 8, 2017 Go to the documentation of angel_cli 1.1.5+2 Download angel_cli 1.1.5+2 archive
1.1.5+1 Aug 8, 2017 Go to the documentation of angel_cli 1.1.5+1 Download angel_cli 1.1.5+1 archive
1.1.5 Aug 8, 2017 Go to the documentation of angel_cli 1.1.5 Download angel_cli 1.1.5 archive
1.1.4 Jun 16, 2017 Go to the documentation of angel_cli 1.1.4 Download angel_cli 1.1.4 archive

All 48 versions...

Analysis

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

  • Dart: 2.0.0-dev.60.0
  • pana: 0.11.3

Scores

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

Platforms

Detected platforms: other

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

Suggestions

  • The description is too short.

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

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 12 hints.

    Strong-mode analysis of lib/src/commands/doctor.dart gave the following hint:

    line: 26 col: 50
    'UTF8' is deprecated and shouldn't be used.

    Strong-mode analysis of lib/src/commands/init.dart gave the following hint:

    line: 104 col: 35
    'DIRECTORY' is deprecated and shouldn't be used.

    Similar analysis of the following files failed:

    • lib/src/commands/pubspec.update.g.dart (hint)
    • lib/src/commands/service.dart (hint)
    • lib/src/commands/service_old.dart (hint)
  • Maintain an example.

    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 >=1.19.0
args ^0.13.4 0.13.7 1.4.3
code_builder ^1.0.0 1.0.4 3.1.0
console ^2.2.3 2.2.4
dart_style ^1.0.0 1.0.9+1 1.0.14
glob ^1.1.0 1.1.5
homedir ^0.0.4 0.0.4
http ^0.11.3 0.11.3+16
id ^1.0.0 1.0.16
inflection ^0.4.1 0.4.1
mustache4dart ^2.1.0 2.1.2
pubspec ^0.0.14 0.0.15
random_string ^0.0.1 0.0.1
recase ^1.0.0 1.0.0+1
watcher ^0.9.7 0.9.7+8
yaml ^2.0.0 2.1.14
Transitive dependencies
analyzer 0.30.0+4 0.32.1
async 2.0.7
charcode 1.1.1
cli_util 0.1.3
collection 1.14.10
concepts 0.2.0
convert 2.0.1
crypto 2.0.3
csslib 0.14.4
either 0.1.8
front_end 0.1.0-alpha.4.1 0.1.1
func 1.0.0
html 0.13.3+1
http_parser 3.1.2
isolate 1.1.0 2.0.1
kernel 0.3.0-alpha.1.1 0.3.1
logging 0.11.3+1
matcher 0.12.2+1
meta 1.1.5
option 1.2.0
package_config 1.0.3
path 1.3.9 1.6.0
plugin 0.2.0+2
pub_semver 1.4.1
quiver 0.21.4 0.29.0+1
quiver_iterables 1.0.1
source_span 1.4.0
stack_trace 1.9.2
string_scanner 1.0.2
stuff 0.0.7
typed_data 1.1.5
uri 0.11.2
utf 0.9.0+4
vector_math 1.4.7 2.0.7
yamlicious 0.0.5
Dev dependencies
build ^0.7.0
build_runner ^0.3.0
check_for_update ^1.0.0