Coder Social home page Coder Social logo

my-port-forward's Introduction

My Port Forward

Usage example

MPF allows you to create Kubernetes port-forward groups and start them with a single command like shown above.

Usage

Create a port-forward group with:

mpf create <name>

You'll be prompted for the namespace, service and ports.


And start the port-forward group with:

mpf up <name>

Installation

On any system using NPM

If you have NodeJS installed on version 12 or higher, you can install MPF with:

npm i -g my-port-forward

Alternatively, you might need sudo for Linux or MacOS:

sudo npm i -g my-port-forward

Check the installation with the --help flag:

$ mpf --help
Usage: mpf [options] [command]

Options:
  -V, --version        output the version number
  -h, --help           display help for command

Commands:
  list                 Lists all port-forward groups
  get <name>           Lists all port-forwards of a group
  delete <name>        Deletes a port-forward group
  create <name>        Creates a port-forward group
  up [options] <name>  Runs a port-forward group
  help [command]       display help for command

Linux and MacOS using installer

If you don't have NodeJS installed, you can install MPF with:

curl -sfL https://cdt.one/mpf.sh | sudo sh -

On any system manually

You can also install MPF by copying it's binary to your PATH. There are the download links:

my-port-forward's People

Contributors

gabriel-pinheiro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.