Git Product home page Git Product logo

sjdpk / fsm Goto Github PK

View Code? Open in Web Editor NEW
13.0 1.0 1.0 49 KB

Flutter SDK Manager : A Command-Line Interface (CLI) tool designed to simplify the management of different versions of the Flutter Software Development Kit (SDK). It provides optimization and convenience for developers who work with Flutter by allowing them to switch between different versions of the Flutter SDK seamlessly.

Shell 46.32% Dart 53.68%
fsm flutter-sdk-manager

fsm's Introduction

fsm

Flutter SDK Manager : A Command-Line Interface (CLI) tool designed to simplify the management of different versions of the Flutter Software Development Kit (SDK) on your development environment. It provides optimization and convenience for developers who work with Flutter by allowing them to switch between different versions of the Flutter SDK seamlessly.

Features:

  • Configure and use Flutter SDK version
  • Ability to Easy Switch between different Flutter SDK Versions

NOTE

Flutter SDK folder must follow this pattern flutter-<version> eg: flutter-3.10.4

FSM Installation

To install FSM, use the following commands based on your shell environment:

Installation Instructions

# echo $SHELL : Bash
git clone https://github.com/sjdpk/fsm.git ~/.fsm && echo 'alias fsm=~/.fsm/fsm.sh' >> ~/.bashrc && source ~/.bashrc
# echo $SHELL : Zsh
git clone https://github.com/sjdpk/fsm.git ~/.fsm && echo 'alias fsm=~/.fsm/fsm.sh' >> ~/.zshrc && source ~/.zshrc
# echo $SHELL : Fish
fish git clone https://github.com/sjdpk/fsm.git ~/.fsm echo 'alias fsm=~/.fsm/fsm.sh' >> ~/.config/fish/config.fish source ~/.config/fish/config.fish
# echo $SHELL : PowerShell
powershell git clone https://github.com/sjdpk/fsm.git $HOME/.fsm Add-Content $PROFILE.CurrentUserAllHosts "`nfunction fsm { $HOME/.fsm/fsm.ps1 }"
# echo $SHELL : Others
1. Clone: git clone https://github.com/sjdpk/fsm.git ~/.fsm

2. Export path in your shell configuration file. Example:
  - Bash/Zsh: alias fsm=~/.fsm/fsm.sh
  - Fish: alias fsm=~/.fsm/fsm.sh
  - PowerShell: function fsm { $HOME/.fsm/fsm.ps1 }

3. Restart your shell or run appropriate commands to apply changes

Ensure to restart your shell or run the appropriate commands to apply the changes.

Usage

Usage: fsm [OPTIONS]

Description Command
Help fsm help
Display FSM Version Information fsm -v or fsm version
Check Flutter Version fsm doctor or fsm -d
List Locally Installed Flutter Versions fsm ls or fsm --list
Update FSM Version fsm update
Upgrade Flutter to Latest SDK fsm flutter-upgrade
Switch to a Specific Flutter SDK Version fsm use <version>
Switch Flutter Version Example fsm use "3.10.4"
Install a Specific Flutter SDK Version fsm install <version>
Install Flutter Version Example fsm install "3.10.5"
Remove a Specific Flutter SDK Version fsm remove <version>
Remove Flutter Version Example fsm remove "3.10.5"
Create a New Flutter Project fsm create <name>
Create Flutter Project Example fsm create awesomeProject
Create a New Feature Folder fsm feature <name>
Create Feature Folder Example fsm feature authentication

Examples

# Display the help message with the available options.
fsm help

Switch to a different version of Flutter, use the fsm command followed by the desired version:

fsm use <version>
eg: fsm use 3.10.4

FAQ:

  1. fsm not found

    Add this line at the end of your shell (eg: bashrc/zshrc) file.

    alias fsm=~/.fsm/fsm.sh

Contributors ✨

Deepak Sapkota
Deepak Sapkota

Rajan Paudel
Rajan Paudel

Contributing

I welcome and appreciate contributions from the community! Whether you want to report a bug, request a new feature, or submit a pull request, please feel free to contribute to this project and help make it even better.

Bug Reports and Feature Requests

If you encounter a bug or have a feature request, please open an issue on the Issue Tracker. Be sure to provide detailed information about the problem you encountered or the feature you'd like to see.

fsm's People

Contributors

sjdpk avatar raaz0n avatar

Stargazers

Sandeep Prasad Bhatt avatar Kiran Shrestha avatar Khadga shrestha avatar  avatar Saurab Kunwar avatar  avatar Krishna Gautam avatar Santosh Luitel avatar  avatar  avatar Bikash_Gyawali avatar Mukesh Kr. Chaudhary avatar Ashish Khatiwada avatar

Watchers

 avatar

Forkers

raaz0n

fsm's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.