Coder Social home page Coder Social logo

lazy-cli's Introduction

This is a work in progress

This tool might not be good for you now. It's made specifically for my workflow at YouSee. I might improve on this in the future.

What is this?

We work with a React, reflux and a tiresome folder structure. Since I'm lazy I want to automate this. So I made this cli for generating react components with stores and actions in the proper domain folder and with templates and imports.

How do I get it?

npm install -g lazy-cli

How do I use it?

You need to cd to a folder (/FrontendClient/src/project) with access to components/ and flux/ and then type lazy-cli. From there you can pick your domain and component name and that's it. โญ

Right now the cli works with our domain structure. If you don't use domain folder just press 'enter' when asked which domain to use. That will create the files in component/, flux/actions and flux/stores.

Be aware that the current import paths are set to the Yousee Sales path.

lazy-cli's People

Contributors

kennethlarsen avatar

Stargazers

Mads Obel avatar

Watchers

James Cloos avatar  avatar

lazy-cli's Issues

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.