Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
cli-plugin
Advanced tools
Readme
This project is a simple and easy to use command-line interface (CLI) for web applications.
Inspired by minimalistic user interfaces that are rich in functionality.
Designed for simplicity and built to empower.
Very light weight.
Features:
Click here for a live demo.
bower install cli-plugin
npm install cli-plugin
<link rel="stylesheet" type="text/css" href="dist/cli-plugin.min.css">
<script src="dist/cli-plugin.min.js"></script>
Initialize cliPlugin using a custom colorscheme/config file.
cliPlugin.init(config);
Config accepts following properties:
Property | Usage | Default | Required |
---|---|---|---|
textColor | text color | #111111 | no |
cursorColor | cursor color | #111111 | no |
backgroundColor | background color | whitesmoke | no |
Feel free to use hex, rgb(a) or html5 color names :)
Register your own commands:
cliPlugin.bind('list', function () {
cliPlugin.print('<p>items on the shopping list:</p>');
cliPlugin.print('<ul><li>milk</li><li>bacon</li><li>eggs</li></ul>');
});
Use cliPlugin.print(text)
command to print text on the screen, accepts html.
Use cliPlugin.clear()
command to clear the screen.
See index.html for an example implementation.
FAQs
Command line interface plugin for web applications.
The npm package cli-plugin receives a total of 6 weekly downloads. As such, cli-plugin popularity was classified as not popular.
We found that cli-plugin 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
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.