forge_cli 1.0.0-dev.2
forge_cli: ^1.0.0-dev.2 copied to clipboard
forge_cli the ultimate tool to create clean architecture project.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate forge_cliUse it
The package has the following executables:
$ forge_cli
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add forge_cliThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
forge_cli: ^1.0.0-dev.2Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:forge_cli/brick_forge.dart';
import 'package:forge_cli/core/bricks_runner/bricks_runner.dart';
import 'package:forge_cli/core/bundled_bricks/make_core_bundle.dart';
import 'package:forge_cli/core/bundled_bricks/new_feature_bundle.dart';
import 'package:forge_cli/core/db/local_db.dart';
import 'package:forge_cli/core/env/env.dart';
import 'package:forge_cli/core/env/env.g.dart';
import 'package:forge_cli/core/exceptions/exceptions.dart';
import 'package:forge_cli/core/extensions/pascal_case_extension.dart';
import 'package:forge_cli/core/extensions/string_manipulation.dart';
import 'package:forge_cli/core/post_gen/post_gen.dart';
import 'package:forge_cli/core/pre_gen/pre_gen.dart';
import 'package:forge_cli/core/shared/api_call.dart';
import 'package:forge_cli/core/shared/base64.dart';
import 'package:forge_cli/core/shared/create_exports_files.dart';
import 'package:forge_cli/core/shared/dart_format.dart';
import 'package:forge_cli/core/shared/init_project.dart';
import 'package:forge_cli/core/shared/write_append_file.dart';
import 'package:forge_cli/core/validators/validators.dart';