Skip to content

lucasdc6/reducer-maker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install

Installing reducer-maker

$ yarn global add reducer-maker
// or
$ npm intall -g reducer-maker

Note: remember to add yarn global to path

in your bashrc

export PATH="$PATH:$(yarn global bin)"

Generatig reducers

  • By default, reducer-maker genrate all (add, read, list, update and delete) in root directory.
$ reducer-maker user
  • Generate all user's reducer in src directory.
$ reducer-maker -w src user
  • Generate only add and read user's reducers in src directory.
$ reducer-maker -r add -r read -w src user

By default, reducer-maker shearch for a directory named actions, constants, reducers and states.

Scann for only for directories

$ reducer-maker

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published