https://github.com/stringmanolo/create-project
Manage your files and projects. Like a clipboard but controled by commands.
https://github.com/stringmanolo/create-project
cli directory- manage-files save-files
Last synced: 10 months ago
JSON representation
Manage your files and projects. Like a clipboard but controled by commands.
- Host: GitHub
- URL: https://github.com/stringmanolo/create-project
- Owner: StringManolo
- Created: 2021-08-03T11:40:32.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-05-26T23:35:57.000Z (over 3 years ago)
- Last Synced: 2025-03-07T23:47:24.057Z (11 months ago)
- Topics: cli, directory-, manage-files, save-files
- Language: JavaScript
- Homepage:
- Size: 1.06 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: FUNDING.yml
Awesome Lists containing this project
README
# Generate Templates From The CLI
### Description
Easy way to create project folder structures and default files for fast development.
### Install
- You need 7z command. In termux pkg install 7z, in Linux apt-get install p7zip-full
Linux:
```
git clone https://github.com/stringmanolo/create-project && bash create-project/install-create-project-linux.sh && source ~/.bashrc;
```
Termux:
```
yes | rm "./create-project" "$PREFIX/include/create-project-templates" "$PREFIX/bin/create-project" -r 2>&1 > /dev/null ; git clone https://github.com/StringManolo/create-project && chmod +775 create-project/export/create-project && mv create-project/export/create-project "$PREFIX/bin" && mv create-project/export/create-project-templates "$PREFIX/include/" && yes | rm create-project -r;
```
### Usage
+ List available templates
```
create-project list
```
+ Generate template
```
create-project basic-web
```
+ Create your custom template from an existing folder
```
create-project create ./myFolder
```
+ Remove a template
```
create-project remove myFolder
```
### Included Templates
Available Templates:
| Name | Description |
| --- | --- |
| basic-jsx | Use JSX in your javascript projects. Also allows CSS-IN-JS |
| basic-pixi | Pixijs 2D engine library |
| basic-three | Three.js basic animation. Include three.js v69, index.html, main.js and index.css |
| basic-vue-cdn | Vue and VueRouter (unpkg cdn scripts) with header, footer components, nav and home + about views |
| basic-vue | Vue and VueRouter (include vue 2.6.14 source) with header, footer components, nav and home + about views |
| basic-web | index.html, main.js and index.css files |
| basic-web-files | index.html, main.js and index.css files extracted on current folder |
| express | Require, get and bind express.js file |
| htm-preact-router-hooks | Use HTM (Similar to JSX but without the compiling step), Preact (A 3Kb version of React), Preact-Router and Preact-Hooks |
| htm-preact | Use HTM (Similar to JSX but without the compiling step) and Preact (A 3Kb version of React) |
| index.css | Basic body styles like remove margin, and some properties as example |
| index.html | Basic html file with data:favicon, root element, and link to css and js files |
| main.c | Include stdio, int main(args) and return 0 |
| main.cpp | Include iostream, using namespace std, int main(args), cin.get and return 0 |
| main.go | Package main, import fmt and func main |
| main.js | Some predefined functions to code faster |
| main.rs | fn main and print a message |
| normalize.css | Corrects bugs and common browser inconsistencies and normalizes styles for a wide range of elements |
| qjs-cli | Create QuickJS cli app. Include function to run OS commands, cli colors, arguments parsing and prompting user for input |