Skip to content

tho-myr/Flow.Launcher.Plugin.Mock

Repository files navigation


Shortcuts logo

Mock 👾
generate mocking case and memes
(⬭ω⬭)


Note

Feel free to leave suggestions or report bugs in the issues section. Or fork the project and create a pull request with your own changes ^-^

A plugin to generate mocking case and memes with flow launcher 👾

Installation

  1. Install flow launcher if you haven't already.
  2. Execute the following command in flow launcher to install the plugin.
pm install Mock by tho-myr

Usage

mock <query_to_mock>

Query example

query-example.png

Context menu options

you can use MOUSE RIGHT CLICK or SHIFT + ENTER on result item to open context menu :)

context-menu-example.png

Output example with mocked query (default behaviour)

output-with-mocked-query.png

Output example with unmodified query (selected through context menu)

output-with-unmodified-query.png

Development

Prerequisites

  • Install dotnet version <=7.x.x from Microsoft here.
  • Install latest version of flow launcher. (default installation path is recommended for faster testing)

Build project

Run the following command in the root folder of the repository/project.

Exit flow launcher, build with dotnet build and then restart flow launcher

dotnet build

Warning

The output folder during dotnet build is set to the default flow launcher installation path.

$(UserProfile)\AppData\Roaming\FlowLauncher\Plugins\Http Status Codes-DEBUG\

To build the project in the project directory remove or comment out the following line from Flow.Launcher.Plugin.Mock.csproj.

<OutputPath>$(UserProfile)\AppData\Roaming\FlowLauncher\Plugins\Http Status Codes-DEBUG\</OutputPath>

If commented out you have to manually paste the build files from the folder /Flow.Launcher.Plugin.Mock/bin/Debug to the plugin folder of your flow launcher installation.

Release plugin

  1. Update CHANGELOG.md for new release.
  2. Update version in plugin.json
  3. Merge changes into master branch
  4. Create the tag v1.x.x on the merge commit on the master branch and the release will be built by github actions
  5. Follow the steps here to submit plugin

Final word

thanks for using my plugin and reading through this long-ass readme. love yall (づ ◕‿◕ )づ

About

generate mocking case and memes 👾

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors