Skip to content

Commit

Permalink
Merge pull request #4 from GeekyAnts/deploy
Browse files Browse the repository at this point in the history
add license and changelog
  • Loading branch information
geekruchika authored Oct 18, 2022
2 parents 788aab3 + 67cec6f commit 88b84e8
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 8 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# 0.0.1-dev.1

- Initial development release.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2022 GeekyAnts

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ Currently, the `Flutter Starter CLI` depends on the following packages:-

## Getting Started

Firstly clone the project on your system then run the following command:
Activate globally via:

```sh
dart pub global activate --source=path <path_to_this_project>
dart pub global activate flutter_starter_cli
```

## Usage
Expand Down
9 changes: 8 additions & 1 deletion lib/src/cli/cli.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,14 @@ class Cli {
static Future<void> cloneProject(String path) async {
await _run(
'git',
['clone', 'https://github.com/Geekyants/flutter-starter.git', path],
[
'clone',
'https://github.com/Geekyants/flutter-starter.git',
'--branch',
'development',
'--single-branch',
path
],
path: path,
);
}
Expand Down
2 changes: 1 addition & 1 deletion lib/src/commands/create_command.dart
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class CreateCommand extends Command<int> {
if (args.isEmpty) {
return _logger.prompt(
'Name of the Project?',
defaultValue: 'counter',
defaultValue: 'flutter_starter',
);
}
return args.first;
Expand Down
2 changes: 1 addition & 1 deletion lib/src/version.dart
Original file line number Diff line number Diff line change
@@ -1 +1 @@
const packageVersion = '0.0.1';
const packageVersion = '0.0.1-dev.1';
8 changes: 5 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
name: flutter_starter_cli
description: Flutter Starter CLI
version: 0.0.1
publish_to: none
version: 0.0.1-dev.1

homepage: https://flutter-starter.geekyants.com
repository: https://github.com/GeekyAnts/flutter-starter-cli

environment:
sdk: ">=2.18.0 <3.0.0"

dependencies:
args: ^2.3.1
mason_logger: ^0.1.3
mason_logger: ^0.2.0
path: ^1.8.2
pub_updater: ^0.2.1

Expand Down

0 comments on commit 88b84e8

Please sign in to comment.