Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 393 Bytes

README.md

File metadata and controls

28 lines (16 loc) · 393 Bytes

Tiny command line tool to generate redux action

// input your prefix: 'app/foo'

// input your action: 'fetch'


FETCH_REQUEST
FETCH_SUCCESS
FETCH_FAIL

app/foo/fetch_request
app/foo/fetch_success
app/foo/fetch_fail

img

How to use?

npm install -g xrg

Why xrg?

x(because it's a less used letter in English) + redux + generate = xrg