makeReact is a python package which helps react and react-native developer to speed-up their develoment process.
Project description
makeReact
makeReact is a python package which helps react and react-native developer to speed-up their develoment process. It saves our time of creating new components or screens and writing the bare minimum amount of code every time. So here is a python package with which we can create our components right from the terminal into the projects directory, all that ease is just a pip install away.
pip install makeReact
Installation
makeReact has following command line flags:
- -path=Pass the path to the project ( if not provided, defaults to the current working directory )
- -s=If True, Create files in screens folder( suitable for react-native )
- -c=If True, Create files in components folder( suitable for both react and react-native)
- -n=Pass the name for the component or screen
- -r=If True, create files with react code
- -rn=If True, create files with react-native code
Note:
- Either of the -s or -c flag must be set to True
- Either of the -r or -rn flag must be set to True
- Components or Screens folder are created if not already present in the directory
- If you want to pass the path and it contains spaces, try passing it in inverted commas.
Examples:
makeReact -path=C:/Users/Hur/MyReactProject/src -c=True -n=MyComponent -r=True
or
makeReact -c=True -n=MyComponent -r=True
or
makeReact -path="C:/Users/Hur Ali/MyReactProject/src" -c=True -n=MyComponent -r=True
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file makeReact-0.0.5.tar.gz
.
File metadata
- Download URL: makeReact-0.0.5.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/2.7.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
b065317662e08768d041a5ac83d46dcdbe13f7fd50dd8e80404e95c31d2d1c91
|
|
MD5 |
a1df62409964ca6195629cb89185f17a
|
|
BLAKE2b-256 |
a52196894d376d37ef18180ed9a955165176bf4447d848840232adab3789d4de
|