Code Monkey home page Code Monkey logo

run-my-bash-script-vscode-extension's Introduction

Run Bash Script Extension

Welcome to the "Run Bash Script" extension for Visual Studio Code! This extension offers a seamless way to execute bash scripts directly within the editor. Whether you're working with a custom script or just need to run a quick bash command, this extension is here to assist.

Right click on any folder to run the bash script

Features

  • User-Friendly Interface: Run bash scripts without the need to toggle between the terminal and the editor.
  • Intuitive Input Handling: The extension now prompts you for each parameter in your script, making it easier to understand what each input is for.
  • Custom Script Path: Set a default script to run every time you use the extension. You can also override the previously selected script with the overrideBashScript command.

How to Use

  1. Navigate to your desired folder within the Visual Studio Code workspace.
  2. Right-click on the folder.
  3. Select "Run My Bash Script" from the context menu.
  4. If prompted, choose your bash script.
  5. The extension will ask for each parameter your script requires. Provide the necessary inputs when prompted.

It asks you to enter the path to the bash script

Requirements

  • Visual Studio Code
  • Bash (must be installed and accessible from your system's PATH)

Extension Settings

  • runMyBashScript.scriptPath: Specifies the path to the user's preferred bash script.

Known Issues

Currently, there are no known issues with this extension. If you encounter any problems or have suggestions, please reach out for support.

Release Notes

1.0.0

  • Initial release of the "Run Bash Script" extension.
  • Enhanced input handling for bash scripts.

Getting Started

  1. Install the extension from the Visual Studio Code marketplace.
  2. Open your project in Visual Studio Code.
  3. Right-click on a folder containing a bash script.
  4. Choose "Run My Bash Script" from the context menu.
  5. If prompted, select your bash script and provide the necessary inputs one by one.
  6. View the script's output in the notification or message area.

For a sample script which has two parameters (NAME and EXTENSION_TYPE):

Ask your script parameters one by one

Ask your script parameters one by one

Using Your Own Script

To utilize your script with the "Run My Bash Script" extension:

  1. Ensure your script accepts the selected folder path as the first argument.
  2. The extension will prompt you for each parameter your script requires. Provide the necessary inputs when prompted.

Feedback and Support

Your feedback is invaluable! If you face any issues or have enhancement suggestions, please don't hesitate to contact me through the extension's GitHub repository or via email at [email protected].

About the Author

This extension is crafted and maintained by Yashar Habibi. Connect with me on GitHub for updates and further details.

Thank you for choosing the "Run Bash Script" extension!

run-my-bash-script-vscode-extension's People

Contributors

habibi4webdesign avatar

Watchers

 avatar

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.