🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

redub-cli

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redub-cli

a command line interface for redub (a react redux boilerplate)

latest
Source
npmnpm
Version
0.0.4
Version published
Maintainers
1
Created
Source

redub-cli

a command line interface for redub (a react redux boilerplate)

redub-cli gives a little more power to a react redux boilerplate

Installation

$ npm i -g redub-cli 

Your First Redub Project

Create a new app:

# Create the project
$ redub new testProject

Generate a new component:

# cd into the new folder
$ cd testProject

# Create a new component
$ redub generate comp myFirstComponent

Usage

redub-cli has the ability to create a new plank redux boilerplate and generate templates of containers, components, views, reducers, and actions.

Once redub-cli is installed globaly a plank new redux boilerplate (redub) project can be generated

Documentation for redub -> click here.

Commands

  • new
  • generate

new

This command has the ability to create a new redub project within the current folder or to create a new folder with the specified name in the current folder.

$ redub new

or

$ redub new [name]

shortcut

$ redub n [name]

[name]:

  • the name you want for this project

generate

This command has the ability to generate a new templates of a container, a component, a view, a reducers, or an action.

$ redub generate [type] [name]

shortcut

$ redub g [type] [name]

[type]:

  • act -> an action
  • red -> an reducer
  • cont -> an container
  • comp -> an component
  • view -> an view

[name]:

  • the name you want for this document

Keywords

react

FAQs

Package last updated on 11 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts