diff --git a/.pubignore b/.pubignore new file mode 100644 index 0000000..c33ed97 --- /dev/null +++ b/.pubignore @@ -0,0 +1 @@ +ci_test/ \ No newline at end of file diff --git a/README.md b/README.md index a434bd8..a36a483 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,17 @@ The `flutterSdkPath:` binds the current Puro environment SDK, allowing the `flut Install the plugin with the following command: ```bash - sidekick plugins install --source git https://github.com/phntmxyz/puro_sidekick_plugin + sidekick plugins install puro_sidekick_plugin +``` + +After installation, the plugin is available in the Sidekick CLI. +Afterward it will check if `puro` is installed already, if not it will aks you to install `puro` globally +or if you want to use it locally for the current project. + +```bash +~/project master > flutter --version 5s +Puro is not installed. +Do you want to install Puro global? (y/n) [n] ``` ## Usage @@ -31,6 +41,7 @@ environment: ```bash flutter --version // Outputs Flutter version 3.10.6 + puro flutter --version // Also outputs Flutter version 3.10.6 ``` You can also specify a particular Flutter version. diff --git a/lib/src/install_puro.dart b/lib/src/install_puro.dart index a6b8167..1c0961c 100644 --- a/lib/src/install_puro.dart +++ b/lib/src/install_puro.dart @@ -20,7 +20,7 @@ Directory installPuro({ } final installGlobal = - dcli.ask("Puro is not installed.\nDo you want to install Puro globally? (y/n)", defaultValue: 'n'); + dcli.ask("Puro is not installed.\nDo you want to install Puro global? (y/n)", defaultValue: 'n'); final latestVersion = getLatestPuroVersion(); print('Download Puro $latestVersion'); diff --git a/pubspec.yaml b/pubspec.yaml index c571c0d..1bc5549 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -6,12 +6,9 @@ issue_tracker: https://github.com/phntmxyz/puro_sidekick_plugin/issues topics: - sidekick - sidekick-plugin - - flutter-wrapper - flutter-version-management - puro -publish_to: none - environment: sdk: '>=3.0.0 <4.0.0'