Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

update readme

  • Loading branch information...
commit a3633ab9ead4fe9eb2b6c0e78f23948c1bbfc4d7 1 parent c7ee846
@xkxx xkxx authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 README.md
View
8 README.md
@@ -2,11 +2,15 @@ Node.CLI
=========
By SchizoDuckie
+
Updated By xkxx
Super simple CLI cursor position control to spice up your script's functionality in terminal/console windows
+
Updated for 0.4.*
+
Requires util
+
v2.0
Free to use and modify.
@@ -34,12 +38,15 @@ Same as cli.write(), except will add a new line
Example:
cli.print('We are');
+
cli.print('In different lines');
### cli.color(text_color, [bold(boolean or cli.bold), [background_color]])
### cli.color(text_color, [[background_color, [text_styles...]])
Set colors and styles
+
Choices of Text and background colors: default, gray, red, green, yellow, blue, magenta, cyan, white.
+
Choices of Text styles: bold, underscore, blink, inverse, conceal, nobold, nounderscore, noblink, noinverse, noconceal, frame, encircle, overline, no_frame_or_circle, nooverline.
Example:
@@ -47,6 +54,7 @@ Example:
cli.color('yellow', cli.bold).write('Here is some yellow text.');
Try node example.js to see this in action.
+
See screenshot.png for an impression of what you can do.
Enjoy!
Please sign in to comment.
Something went wrong with that request. Please try again.