raunak_cli 1.0.1+2 copy "raunak_cli: ^1.0.1+2" to clipboard
raunak_cli: ^1.0.1+2 copied to clipboard

A Dart CLI to generate Flutter projects with a clean architecture setup, folder structure, and essential boilerplate.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate raunak_cli

Use it

The package has the following executables:

$ raunak-cli

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add raunak_cli

With Flutter:

 $ flutter pub add raunak_cli

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  raunak_cli: ^1.0.1+2

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:raunak_cli/commands/generate_feature.dart';
import 'package:raunak_cli/commands/init.dart';
import 'package:raunak_cli/raunak.dart';
import 'package:raunak_cli/templates/api_client_template.dart';
import 'package:raunak_cli/templates/api_endpoints_template.dart';
import 'package:raunak_cli/templates/api_entity_template.dart';
import 'package:raunak_cli/templates/api_response_template.dart';
import 'package:raunak_cli/templates/app_routes_template.dart';
import 'package:raunak_cli/templates/env_config_template.dart';
import 'package:raunak_cli/templates/env_template.dart';
import 'package:raunak_cli/templates/local_storage_template.dart';
import 'package:raunak_cli/templates/main_template.dart';
import 'package:raunak_cli/templates/navigate_template.dart';
import 'package:raunak_cli/templates/test_template.dart';
import 'package:raunak_cli/templates/theme_template.dart';
import 'package:raunak_cli/templates/token_storage_template.dart';
import 'package:raunak_cli/utils/string_utils.dart';
0
likes
140
points
14
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Dart CLI to generate Flutter projects with a clean architecture setup, folder structure, and essential boilerplate.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

args, path

More

Packages that depend on raunak_cli