@liip/npm-icons
Advanced tools
Comparing version 0.2.4 to 0.2.5
#! /usr/bin/env node | ||
import { Command } from 'commander'; | ||
import addIcon from './add.js'; | ||
import addIcon from './commands/add.js'; | ||
@@ -22,4 +22,5 @@ const program = new Command(); | ||
.description('Add a new icon') | ||
.argument('<string>', 'icon name') | ||
.argument('[string]', 'icon name') | ||
.option('-t, --type <string>', 'icon type') | ||
.option('-l, --list <string>', 'import icons from file') | ||
.action(async (name, options) => { | ||
@@ -26,0 +27,0 @@ await addIcon(name, options); |
{ | ||
"name": "@liip/npm-icons", | ||
"version": "0.2.4", | ||
"version": "0.2.5", | ||
"description": "Import svg icons using cli", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -44,2 +44,15 @@ ## [Official Documentation](https://liip.github.io/npm-icons/website) | ||
### import icons from icons list file | ||
File required one icon name per line | ||
File example (icons-list.txt): | ||
```text | ||
house | ||
shop | ||
music-ticket | ||
``` | ||
command example: | ||
```bash | ||
npx icons add -l icons-list.txt | ||
``` | ||
## Vue 3 integration | ||
@@ -46,0 +59,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
130
5
15113
9
378
1