mvvm_cli_nerdzlab 1.2.1 mvvm_cli_nerdzlab: ^1.2.1 copied to clipboard
MVVM CLI Tool, a command-line utility designed to streamline the creation of MVVM projects.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate mvvm_cli_nerdzlab
Use it
The package has the following executables:
$ mvvm
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add mvvm_cli_nerdzlab
With Flutter:
$ flutter pub add mvvm_cli_nerdzlab
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
mvvm_cli_nerdzlab: ^1.2.1
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:mvvm_cli_nerdzlab/cli.dart';
import 'package:mvvm_cli_nerdzlab/core/constants/exit_code.dart';
import 'package:mvvm_cli_nerdzlab/core/constants/file_constants.dart';
import 'package:mvvm_cli_nerdzlab/core/constants/identifiers.dart';
import 'package:mvvm_cli_nerdzlab/core/constants/parser_constants.dart';
import 'package:mvvm_cli_nerdzlab/core/constants/pbxproj_constants.dart';
import 'package:mvvm_cli_nerdzlab/core/data/l10n_yaml.dart';
import 'package:mvvm_cli_nerdzlab/core/utils/analyzer_util.dart';
import 'package:mvvm_cli_nerdzlab/core/utils/arg_parser_builder.dart';
import 'package:mvvm_cli_nerdzlab/core/utils/extensions.dart';
import 'package:mvvm_cli_nerdzlab/core/utils/file_util.dart';
import 'package:mvvm_cli_nerdzlab/core/utils/process_util.dart';
import 'package:mvvm_cli_nerdzlab/core/utils/validator_util.dart';