A simple shortcut, command line interface (CLI) for a lazy (a.k.a effective) Flutter developer in order to increase productivity and happiness.

Overview

f

A simple shortcut, command line interface (CLI) for a lazy (a.k.a effective) Flutter developer in order to increase productivity and happiness.

Installation

Activate f CLI from your terminal using this command.

pub global activate f

Create new project

Use this f command to create a Flutter project:

f c myapp
cd myapp

It's similar with using command flutter create myapp.

To create a Flutter project with some predefined dependencies, you can list the dependencies after your project name like this:

f c myapp path intl http provider 
cd myapp 

The above command will automatically create myapp project in the myapp directory, then automatically install all the required dependencies (in this example: path, intl, http, and provider).

Feel free to add as many dependencies as you want.

You can also pass other arguments, such as project name, the organization name, or to specify the programming language used for the native platform:

f c --p myapp --org dev.flutter --a kotlin --i swift myapp path intl http provider
cd myapp

Run Project

To run a Flutter project, you can use this command:

f r

It's similar with using command flutter run.

To run project as flutter run --profile, use:

f rp

To run project as flutter run --release, use:

f rr

Other Commands

The list of other f commands that you can use to increase productivity with Flutter.

Command Description
f a -d DEVICE_ID Analyzes the project’s Dart source code.
Alias of flutter analyze
f as -o DIRECTORY Assemble and build flutter resources.
Alias of flutter assemble
f at -d DEVICE_ID Attach to a running application.
Alias of flutter attach
f b DIRECTORY Flutter build commands.
Alias of flutter build
f bs DIRECTORY Flutter build commands with split per abi.
Alias of flutter build --split-per-abi
f ch CHANNEL_NAME List or switch flutter channels.
Alias of flutter channel
f dev -d DEVICE_ID List all connected devices.
Alias of flutter devices
f doc Show information about the installed tooling.
Alias of flutter doctor
f drv Runs Flutter Driver tests for the current project.
Alias of flutter drive
f e List, launch and create emulators.
Alias of flutter emulators
f f DIRECTORY|DART_FILE Formats Flutter source code.
Alias of flutter format
f i -d DEVICE_ID Install a Flutter app on an attached device.
Alias of flutter install
f l Show log output for running Flutter apps.
Alias of flutter logs
f t [DIRECTORY|DART_FILE] Runs tests in this package.
Alias of flutter test
f up Upgrade your copy of Flutter.
Alias of flutter upgrade
f down Downgrade Flutter to the last active version for the current channel. Alias of flutter downgrade
You might also like...

Simple CLI tool to produce icons for your next app.

icon_set_generator Simple CLI tool to enable easy production of icon sets for your next application. Installation Clone the repo and add bin/icon_set_

Nov 17, 2021

This package allows programmers to annotate Dart objects in order to Serialize / Deserialize them to / from JSON

This package allows programmers to annotate Dart objects in order to Serialize / Deserialize them to / from JSON. Why? Compatible with all target plat

Jan 6, 2023

Converts SVG icons to OTF font and generates Flutter-compatible class. Provides an API and a CLI tool.

Fontify The Fontify package provides an easy way to convert SVG icons to OpenType font and generate Flutter-compatible class that contains identifiers

Oct 28, 2022

A cli tool to run Flutter applications and auto hot reload it when files are changed

Dashmon A minimalistic CLI tool to run Flutter applications and auto hot reload it when files are changed. It will watch changes your application code

Oct 6, 2022

A CLI for syncing Dart dependency versions between pubspec.yaml and pubspec.lock files.

lockpick A CLI for syncing Dart dependency versions between pubspec.yaml and pubspec.lock files. 🔒 Usage # Activate lockpick pub global activate lock

Oct 17, 2022

A CLI tool to help generate dart classes from json returned from API

Json 2 Dart Command line utility Important note There is already a package called json2dart so this package will be called json2dartc ! This project w

Oct 5, 2022

CLI utility to manage MC Server installations

CLI utility to manage MC server installations. Features Install required JDKs Download server files Generate start scripts (with optimized JVM flags)

Nov 18, 2022

A CLI tool to help batch renaming files.

batch_rename A CLI tool to enable batch renaming of files. Installation Clone the repo and add bin/batch_rename.exe to PATH: gh repo clone POWRFULCOW8

Nov 3, 2021

Official CLI for the GetX framework

Official CLI for the GetX framework

Nov 23, 2021
Owner
Salman S
Telle est la Voie
Salman S
A Very Good Command Line Interface for Dart created by Very Good Ventures 🦄

Very Good CLI Developed with ?? by Very Good Ventures ?? A Very Good Command Line Interface for Dart. Installing $ dart pub global activate very_good_

Very Good Open Source 1.8k Jan 8, 2023
A command-line interface for Ultroid

UltroidCli Welcome to the UltroidCli project built for The Ultroid. This Project is actively maintained by Akash Pattnaik. All kinds of contributions

AkashPattanaik 38 Nov 13, 2022
A simple command-line application to generate simple folder and file structure for Flutter Applications

Kanza_cli is a simple command line tool to generate folder and file structure for your Flutter apps. To use it, you should do the followings: 1. First

Kanan Yusubov 9 Dec 16, 2022
Uproot(uprt) is a multi-platform (Windows, MacOs, and Linux) command line utility written in Dart to convert a router's DHCP IP Reservations between routers

UPROOT Uproot(uprt) is a multi-platform (Windows, MacOs, and Linux) command line utility written in Dart to convert a router's DHCP IP Reservations be

GeekVisit 73 Jan 1, 2023
A tool to easily install the Android SDK command-line and platform tools.

gibadb A tool to easily install the Android SDK command-line and platform tools. For developers: This README describes the CLI tool that ships with th

null 3 Sep 22, 2022
Command-line tool to provide null-safety percentage info of a project. Track your migration progress on mixed-version programs that execute with unsound null safety.

null_safety_percentage Command-line tool to provide null-safety percentage info of a project. Track your migration progress on mixed-version programs

dartside.dev 8 Mar 27, 2022
Easy to use cross-platform regex replace command line util

replace Easy to use cross-platform regex replace command line util. Can't remember the arguments to the find command? or how xargs works? Maybe sed is

Rob Becker 3 Feb 1, 2022
Arissounddart - a Command-line SoundSprite generator for Dart

SoundDart SoundDart is a Command-line SoundSprite generator for Dart. It require

Behruz Hurramov 1 Jan 9, 2022
null 9 Dec 1, 2022
Flutter Version Management: A simple CLI to manage Flutter SDK versions.

fvm Flutter Version Management: A simple cli to manage Flutter SDK versions. FVM helps with the need for a consistent app builds by allowing to refere

Leo Farias 3.2k Jan 8, 2023