
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
A light CLI to generate projects in an easy way.
npm install lol-cli -g
Open your terminal and type lol
or lol -h
, you'll see the help infomation below:
Usage: lol-cli <command>
Commands:
add|a Add a new template
list|l List all the templates
init|i Generate a new project
delete|d Delete a template
Options:
-h, --help output usage information
-V, --version output the version number
This command would help you to add a new template to the templates.json
, which will be used by lol to generate projects.
$ lol add
/* your template's name */
Template name: my-tpl
/* your template's git https link, note that it ends with .git */
Git https link: https://gitxxx/somebody/my-tpl.git
/* your template's branch */
Branch: master
Once confirm you'll see the message like below:
The last template list is:
{ tpl:
{ 'my-tpl-name':
{ url: 'https://gitxxx/somebody/my-tpl.git',
branch: 'master' } } }
Now you've added a new template to lol successfully.
It shows you the templates list.
$ lol list
{ tpl:
{ 'my-tpl-name':
{ url: 'https://gitxxx/somebody/my-tpl.git',
branch: 'master' } } }
After adding new templates, you could use this command to generate your own project by choosing template.
$ lol init
/* enter a template name which was added by yourself */
Template name: my-tpl-name
/* your project name */
Project name: my-new-project
After enter correct template name and confirm, you'll see the message below:
Start generating...
√ Generation completed!
cd my-new-project && npm install
It's easy, right?
To delete a template, you could use this command:
$ lol delete
and type the template name you want to delete:
Template name: my-tpl-name
if the name exist, you will see:
Template deleted!
The last template list is:
{ tpl:
{ 'my-tpl-name': undefined } }
once a template is undefined
, it means you've deleted it successfully.
The most important part of lol is template
. All templates' infomation were list in the templates.json
.
A template means a project sample, which has a simple or complex file structure.
You can create your own templates repository, and push your templates in different branches. All you need to do then is to add the templates into lol-cli templates.json
.
MIT.
FAQs
A simple CLI for creating your projects
The npm package lol-cli receives a total of 0 weekly downloads. As such, lol-cli popularity was classified as not popular.
We found that lol-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.