pipetext 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pipetext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Minaswan Nakamoto
@@ -15,40 +15,41 @@ description: "== Easily add colors, boxes, repetitions and emojis to your termin
15
15
  \ \n require 'pipetext'\n\n class YellowPrinter\n include PipeText\n def
16
16
  print(string)\n write('|Y' + string + '|n')\n end\n end\n\n printer =
17
17
  YellowPrinter.new\n printer.print('This is yellow')\n \n The gem includes a command
18
- line interface too:\n \n > pipetext\n\n > pipetext '|Ccyan|n'\n---\n | pipe
19
- \ || & ampersand && Toggle (&) background color mode |&\n smoke |s white
20
- \ |W black text on white background |k&w\n red |r bright red |R
21
- \ red background &r\n green |g bright green |G green background &g\n
22
- \ blue |b bright blue |B blue background &b\n cyan |c bright cyan
23
- \ |C cyan background &c\n yellow |y bright yellow |Y yellow background
24
- \ &y\n magenta |m bright magenta |M magenta background &m\n---\n Hex RGB color
25
- codes: Foreground |#RRGGBB Background &#RRGGBB\n Palette colors (256)
26
- using Hex: |p33&pF8 Clear Screen |!\n black with white background |K&w
27
- \ Blinking |@\n white with magenta background |w&m invert
28
- \ |i\n smoke with green background |s&g Underlined |_\n
29
- \ red with cyan background |r&c Italics |~\n bright red
30
- with blue background |R&b Bold |+\n green with yellow background
31
- \ |g&y Faint |.\n bright green with red background |G&r Crossed
32
- out |x\n normal color and background |n&n Escape Sequence |\\\n---\n
33
- \ Example unicode sequences: https://unicode.org/emoji/charts/full-emoji-list.html\n
34
- \ |[CLDR Short Name] ⚙ |[gear] \U0001F60D |[smiling face with heart-eyes]
35
- \ \U0001F4A4 |[zzz]\n ✔ |U2714 ❌ |U274c ☮
36
- |u262E \U0001F48E |u1f48e \U0001F49C |u1f49c\n---\n Single or double line
37
- box mode with |- or |=\n \n ┌──┬──┐ ╔══╦══╗ +--+--+ <-- Draw this
38
- with this: |15 |-[--v--] |=[--v--] |o[--v--]\n │ │ │ ║ ║ ║
39
- | | | |15 |-! ! ! |=! ! ! |o! ! !\n 123456789012345├──┴──┤
40
- ╠══╩══╣ +--+--+ |y1234567890|g12345|n|->--^--< |=>--^--< |o>--^--< \n
41
- \ 15 Spaces │ │ ║ ║ | | |c15|n Spaces|6 |-! !
42
- |=! ! |o! !\n (|15 ) └─────┘ ╚═════╝ +-----+ (||15
43
- )|9 |-{-----} |={-----} |o{-----}\n \n ┌──────────────────┐ ╔════════════════════╗
44
- \ |-[|18-]|4 |g&m|=[|20-]|n&n|O\n │ │ ║ ║
45
- \ |-!|18 !|4 |g&m|=!|20 !|n&n|O\n ├──────────────────┤ ╠════════════════════╣
46
- \ |->|18-<|4 &m|g|=>|20-<|n&n|O\n │ │ ║ ║
47
- \ |-!|18 !|4 |g&m|=!|20 !|n&n|O\n └──────────────────┘ ╚════════════════════╝
48
- \ |-{|18-}|4 |g&m|={|20-}|n&n|O\n---\n Repetition using | followed by
49
- the number of characters to repeat and then the character to repeat.\n |15* does
50
- the * character 15 times like this: ***************\n---\n==Use the ++pipetext++
51
- command to see other options and examples.\n"
18
+ line interface too:\n \n > pipetext\n\n > pipetext '|Ccyan|n'\n\n Works with
19
+ files:\n\n > pipetext <filename>\n\n Works with pipes too:\n\n > echo '|RRed
20
+ test |u1f49c|n' | pipetext\n\n---\n | pipe || & ampersand && Toggle (&) background
21
+ color mode |&\n smoke |s white |W black text on white background
22
+ \ |k&w\n red |r bright red |R red background &r\n green |g
23
+ \ bright green |G green background &g\n blue |b bright blue |B blue
24
+ background &b\n cyan |c bright cyan |C cyan background &c\n yellow
25
+ \ |y bright yellow |Y yellow background &y\n magenta |m bright magenta |M
26
+ \ magenta background &m\n---\n Hex RGB color codes: Foreground |#RRGGBB Background
27
+ \ &#RRGGBB\n Palette colors (256) using Hex: |p33&pF8 Clear Screen |!\n
28
+ \ black with white background |K&w Blinking |@\n white with
29
+ magenta background |w&m invert |i\n smoke with green background
30
+ \ |s&g Underlined |_\n red with cyan background |r&c
31
+ \ Italics |~\n bright red with blue background |R&b Bold |+\n
32
+ \ green with yellow background |g&y Faint |.\n bright green
33
+ with red background |G&r Crossed out |x\n normal color and background
34
+ \ |n&n Escape Sequence |\\\n---\n Emojis: https://unicode.org/emoji/charts/full-emoji-list.html\n
35
+ \ |[Abbreviated CLDR Short Name] \U0001F60D |[smiling face with heart-eyes]
36
+ or\n ⚙ |[gear] \U0001F4A4 |[zzz] \U0001F468 |[man] \U0001F60D |[sm
37
+ f w he e]\n |U2714 ❌ |U274c ☮ |u262E \U0001F48E |u1f48e \U0001F49C
38
+ |u1f49c\n---\n Single or double line box mode with |- or |=\n \n ┌──┬──┐
39
+ ╔══╦══╗ +--+--+ <-- Draw this with this: |15 |-[--v--] |=[--v--] |o[--v--]\n
40
+ \ │ │ ║ ║ ║ | | | |15 |-! ! ! |=! ! ! |o! !
41
+ \ !\n 123456789012345├──┴──┤ ╠══╩══╣ +--+--+ |y1234567890|g12345|n|->--^--<
42
+ |=>--^--< |o>--^--< \n 15 Spaces │ │ ║ ║ | | |c15|n
43
+ Spaces|6 |-! ! |=! ! |o! !\n (|15 ) └─────┘ ╚═════╝ +-----+
44
+ \ (||15 )|9 |-{-----} |={-----} |o{-----}\n \n ┌──────────────────┐
45
+ \ ╔════════════════════╗ |-[|18-]|4 |g&m|=[|20-]|n&n|O\n │ │
46
+ \ ║ ║ |-!|18 !|4 |g&m|=!|20 !|n&n|O\n ├──────────────────┤
47
+ \ ╠════════════════════╣ |->|18-<|4 &m|g|=>|20-<|n&n|O\n │ │
48
+ \ ║ ║ |-!|18 !|4 |g&m|=!|20 !|n&n|O\n └──────────────────┘
49
+ \ ╚════════════════════╝ |-{|18-}|4 |g&m|={|20-}|n&n|O\n---\n Repetition
50
+ using | followed by the number of characters to repeat and then the character to
51
+ repeat.\n |15* does the * character 15 times like this: ***************\n---\n==Use
52
+ the ++pipetext++ command to see other options and examples.\n"
52
53
  email: minaswan.nakamoto@onionmail.org
53
54
  executables:
54
55
  - pipetext