Skip to content

Commit

Permalink
v5.25.3
Browse files Browse the repository at this point in the history
  • Loading branch information
agordn52 committed Apr 18, 2024
1 parent ec04ded commit 0907d3f
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,7 @@
## [5.25.3] - 2024-04-18

* Update metro make:model --json command to check if cli is running on Windows or MacOS

## [5.25.2] - 2024-04-17

* Update pubspec.yaml
Expand Down
13 changes: 11 additions & 2 deletions lib/metro/metro.dart
Expand Up @@ -957,8 +957,17 @@ _makeModel(List<String> arguments) async {
if (hasJsonFlag) {
final fileName = 'nylo-model.json';

MetroConsole.writeInGreen(
'Input your text and press Ctrl + D to save and exit.');
String? consoleMessage;
if (Platform.isMacOS || Platform.isLinux) {
consoleMessage = 'Input your text and press Ctrl + D to save and exit.';
}
if (Platform.isWindows) {
consoleMessage = 'Input your text and press Ctrl + C to save and exit.';
}

if (consoleMessage != null) {
MetroConsole.writeInGreen(consoleMessage);
}

// Read user input from stdin
final StringBuffer buffer = StringBuffer();
Expand Down
2 changes: 1 addition & 1 deletion lib/nylo_framework.dart
Expand Up @@ -45,4 +45,4 @@ export 'package:skeletonizer/skeletonizer.dart';
export 'package:dio/dio.dart';

/// Nylo version
const String nyloVersion = 'v5.25.2';
const String nyloVersion = 'v5.25.3';
2 changes: 1 addition & 1 deletion pubspec.yaml
@@ -1,6 +1,6 @@
name: nylo_framework
description: Micro-framework for Flutter that's built to simplify app development for Flutter projects.
version: 5.25.2
version: 5.25.3
homepage: https://nylo.dev
repository: https://github.com/nylo-core/framework/tree/5.x
issue_tracker: https://github.com/nylo-core/framework/issues
Expand Down

0 comments on commit 0907d3f

Please sign in to comment.