linusl-cli-tool
v2.0.5
Published
Updated version of linusl-cli-tool</br> *NOTE: Sometimes the path does not work. It may say that it can't find the file/folder. That may be because of a space in your username. </br> Example: "C:\Users\Jane Doe\Desktop"*
Downloads
2
Maintainers
Readme
linusl-cli-tool 2.0
Updated version of linusl-cli-tool NOTE: Sometimes the path does not work. It may say that it can't find the file/folder. That may be because of a space in your username. Example: "C:\Users\Jane Doe\Desktop"
--- IF INSTALLED GLOBALLY ---
When you've installed it globally you will be able to type LinusConfig
and LinusConfig-extra
.
LinusConfig
When you type LinusConfig in your terminal a menu will show up. You will be able to choose between different templates. By default there will be two templates available Express and HTML-CSS-JS The Express template will generate some files to get you started with your express-app. The HTML-CSS-JS template will generate three different files. One HTML, CSS and JavaScript.
LinusConfig-extra
When you type LinusConfig-extra
in your terminal a menu will show up with three different options.
- Add new template
- Edit existing template
- Delete a template
Add new template
This option will make it possible for you to create your own template. You will be asked for a name for the new template (if you don't pick a name, a name will be generated for you).
After you've chosen a name, you will be asked to add files to your new template. The file(s) have to be in the same folder you run the command in (If you use the path you don't need the files to be in the same folder you run the command in).
When you're done adding files. The new template will now appear in the template menu when you type LinusConfig
.
Edit existing template
If you choose this option you have to pick one of the templates that you have available.
After you've picked a template. You'll get the following options:
Add file
This option will make it possible to add file(s) to the selected template. (The file(s) needs to be in the same folder you run the command in. If you use the path you don't need the files to be in the same folder you run the command in) If you add a file to a template where a file with that name already exists, you'll get the following menu
- Change name, this option will change the name of the uploaded file and not affect any other file in that template.
- Overwrite, this option will overwrite the already existing file with the new uploaded file.
- Skip, this option will skip uploading the new file and not affect the old file in that template.
Delete file
This option will show a list of available files in the selected template.
After you've picked a file, you'll be asked if you want to delete it or not.
Change template name
This option will make it possible to pick a new name for the selected template.
You will NOT be able pick the same name as an already existing template
(It will not affect the files inside the template)
Delete a template
This option will show you a list of templates available. After you've selected a template it will remove the template and ALL files inside.