Skip to content

Commit 43f608f

Browse files
committed
changelog, version upgrade and usage for gen command
1 parent f94493a commit 43f608f

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 1.4.0
2+
* Have added `gen` command to generate directory and common files for a modified tdd structure
3+
* Fixed adding multiple instance of plugins if already exists
4+
* Made all functions private
5+
16
## 1.3.3
27
* Google services version upgraded
38

lib/flutter_automation.dart

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,12 @@ void decipherScript(List<String> arguments) async {
3737
abbr: "p",
3838
help: "Base path, defaults to ${_Commons.basePath}",
3939
defaultsTo: _Commons.basePath);
40-
genParser.addFlag("core",
41-
abbr: "c", help: "Generates core directory instead of feature directory");
40+
genParser.addFlag(
41+
"core",
42+
abbr: "c",
43+
help: "Generates core directory instead of feature directory",
44+
negatable: false,
45+
);
4246

4347
var argResults = parser.parse(arguments);
4448
if (argResults.command?.name == "gen") {
@@ -55,6 +59,11 @@ void decipherScript(List<String> arguments) async {
5559
if (argResults['help'] || argResults.arguments.length < 1) {
5660
stdout.write('Automation scripts for flutter');
5761
stdout.write(parser.usage);
62+
stdout.writeln("\n");
63+
stdout.writeln(
64+
"[Command: gen] - flutter pub run flutter_automation gen <options>");
65+
stdout.writeln("Options:");
66+
stdout.writeln(genParser.usage);
5867
return;
5968
}
6069

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: flutter_automation
22
description: A flutter package that provides various automation scripts to help
33
you with your flutter project.
4-
version: 1.3.3
4+
version: 1.4.0
55
author: Damodar Lohani<dlohani48@gmail.com>
66
homepage: https://github.com/lohanidamodar/flutter_automation
77

0 commit comments

Comments
 (0)