A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.npmjs.com/package/redux-dispatch-cli below:

redux-dispatch-cli - npm

Remote Redux Dispatch CLI

A CLI tool for Redux remote dispatch. Used in remote-redux-devtools

Screenshot

Installation

$ npm install -g redux-dispatch-cli

Usage

Use redux-dispatch or rrd command.

$ redux-dispatch connect --hostname <hostname> --port <port>

 

$ redux-dispatch ls-instance

 

$ redux-dispatch select <instance>

 

$ redux-dispatch sync

 

$ redux-dispatch action "{ type: 'ACTION', ... }"

 

$ redux-dispatch start

$ redux-dispatch restart

$ redux-dispatch stop

$ redux-dispatch status

Run redux-dispatch --help or redux-dispatch <command> --help for more information.

Steps Connect to remotedev-server (hostname default: localhost)

$ rrd connect --hostname <hostname> --port <port>

It will create a daemon, the daemon process will exit when $HOME/.remotedev_d_port is removed.

Show available instances

Make sure have instance can dispatch action.

Select a instance (default: auto)

$ rrd select <instanceKey>

Dispatch action

$ rrd action "{ type: 'ACTION', a: 1 }"

Credits License

MIT


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4