Comparing version 1.1.2 to 1.1.3
@@ -38,3 +38,3 @@ #!/usr/bin/env node | ||
//-------------------------------------------------------------------------------------------------------------------------------------------------------------- | ||
Program.description('This is a tool for sexy fonts in the console. Give your cli some love.').version('v' + Version).usage('"<value>" [option1] <input1> [option2] <input1>,<input2> [option3]').option('-f, --font <keyword>', 'define "font face"', 'block').option('-a, --align <keyword>', 'define "alignment" for the text', 'left').option('-c, --colors <keyword>,<keyword>...', 'provide colors for text', 'white').option('-b, --background <keyword>', 'provide background color', 'Black').option('-l, --letter-spacing <n>', 'define letter spacing {integer}').option('-z, --line-height <n>', 'define line height {integer}', 1).option('-s, --spaceless', 'surpress space on top and on the bottom').option('-m, --max-length <keyword>', 'define how many character can be on one line').action(function (text) { | ||
Program.usage('"<value>" [option1] <input1> [option2] <input1>,<input2> [option3]\n' + (' Example: $ ' + Chalk.bold('cfonts "sexy font" -f chrome -a center -c red,green,gray'))).description('This is a tool for sexy fonts in the console. Give your cli some love.').version('v' + Version).option('-f, --font <keyword>', 'define "font face"', 'block').option('-a, --align <keyword>', 'define "alignment" for the text', 'left').option('-c, --colors <keyword>,<keyword>...', 'provide colors for text; comma separated (no space)', 'white').option('-b, --background <keyword>', 'provide background color', 'Black').option('-l, --letter-spacing <n>', 'define letter spacing {integer}').option('-z, --line-height <n>', 'define line height {integer}', 1).option('-s, --spaceless', 'surpress space on top and on the bottom').option('-m, --max-length <keyword>', 'define how many character can be on one line').action(function (text) { | ||
Program.text = text; //add flagless option for text | ||
@@ -78,3 +78,3 @@ }).on('--help', function () { | ||
//we do need text to convert | ||
CFonts.log.error('Please provide text to convert with ' + Chalk.green('cfonts -t "Text"') + '\n' + ('Run ' + Chalk.green('cfonts --help') + ' for more infos')); | ||
CFonts.log.error('Please provide text to convert with ' + Chalk.green('cfonts "Text"') + '\n' + ('Run ' + Chalk.green('cfonts --help') + ' for more infos')); | ||
} |
{ | ||
"name": "cfonts", | ||
"description": "Sexy fonts for the console", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"homepage": "https://github.com/dominikwilkowski/cfonts", | ||
@@ -6,0 +6,0 @@ "author": { |
109
README.md
@@ -93,56 +93,56 @@ ```shell | ||
- A | ||
- B | ||
- C | ||
- D | ||
- E | ||
- F | ||
- G | ||
- H | ||
- I | ||
- J | ||
- K | ||
- L | ||
- M | ||
- N | ||
- O | ||
- P | ||
- Q | ||
- R | ||
- S | ||
- T | ||
- U | ||
- V | ||
- W | ||
- X | ||
- Y | ||
- Z | ||
- 0 | ||
- 1 | ||
- 2 | ||
- 3 | ||
- 4 | ||
- 5 | ||
- 6 | ||
- 7 | ||
- 8 | ||
- 9 | ||
- ! | ||
- ? | ||
- . | ||
- + | ||
- - | ||
- _ | ||
- = | ||
- @ | ||
- # | ||
- $ | ||
- % | ||
- & | ||
- ( | ||
- ) | ||
- / | ||
- : | ||
- ; | ||
- , | ||
- `A` | ||
- `B` | ||
- `C` | ||
- `D` | ||
- `E` | ||
- `F` | ||
- `G` | ||
- `H` | ||
- `I` | ||
- `J` | ||
- `K` | ||
- `L` | ||
- `M` | ||
- `N` | ||
- `O` | ||
- `P` | ||
- `Q` | ||
- `R` | ||
- `S` | ||
- `T` | ||
- `U` | ||
- `V` | ||
- `W` | ||
- `X` | ||
- `Y` | ||
- `Z` | ||
- `0` | ||
- `1` | ||
- `2` | ||
- `3` | ||
- `4` | ||
- `5` | ||
- `6` | ||
- `7` | ||
- `8` | ||
- `9` | ||
- `!` | ||
- `?` | ||
- `.` | ||
- `+` | ||
- `-` | ||
- `_` | ||
- `=` | ||
- `@` | ||
- `#` | ||
- `$` | ||
- `%` | ||
- `&` | ||
- `(` | ||
- `)` | ||
- `/` | ||
- `:` | ||
- `;` | ||
- `,` | ||
- ` ` (space) | ||
@@ -352,2 +352,3 @@ | ||
## Release History | ||
* 1.1.3 - Fixed help text, removing old -t option | ||
* 1.1.2 - Fixed issue with older commander version #3, updated docs | ||
@@ -354,0 +355,0 @@ * 1.1.1 - moved from `babel-polyfill` to `babel-plugin-transform-runtime`, added files to package.json, added images to docs, fixed dependencies |
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
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
166395
4105
375