pipetext 0.0.11 → 0.0.12
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.
- checksums.yaml +2 -2
- metadata +22 -21
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
3
|
+
metadata.gz: 0b6ee2086416c14c23359c118f539c2def1070bcdf7ae847a345199eb83426ff
|
|
4
4
|
data.tar.gz: bbd2b7e0ed511c0131c16ceeed533166623aeb3615aeabb90c8444b8e60a62aa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
6
|
+
metadata.gz: fa5a7bfbdee233c707e350138cd23541746d51e85e19d24400eb55756f860dd146b272724dc0c0f1e340c17cef9f264c731d9ebbe81998946b5e9f2030c38b74
|
|
7
7
|
data.tar.gz: 3e96cde336b0135da5af4c5eb6a131125ca7e2f084248fa30172626722f717499095f3368dd965b6994f28ad7df99387592646a1a34485ab13a8ec1b36bd7837
|
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.0.
|
|
4
|
+
version: 0.0.12
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Minaswan Nakamoto
|
|
@@ -15,25 +15,25 @@ 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
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
background
|
|
22
|
-
\
|
|
23
|
-
\
|
|
24
|
-
\
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
\
|
|
28
|
-
|
|
29
|
-
\
|
|
30
|
-
|
|
31
|
-
\
|
|
32
|
-
|
|
33
|
-
\
|
|
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
|
|
33
|
+
\ Example unicode sequences: https://unicode.org/emoji/charts/full-emoji-list.html\n
|
|
34
34
|
\ |[CLDR Short Name] ⚙ |[gear] \U0001F60D |[smiling face with heart-eyes]
|
|
35
35
|
\ \U0001F4A4 |[zzz]\n ✔ |U2714 ❌ |U274c ☮
|
|
36
|
-
|u262E \U0001F48E |u1f48e \U0001F49C |u1f49c\n
|
|
36
|
+
|u262E \U0001F48E |u1f48e \U0001F49C |u1f49c\n---\n Single or double line
|
|
37
37
|
box mode with |- or |=\n \n ┌──┬──┐ ╔══╦══╗ +--+--+ <-- Draw this
|
|
38
38
|
with this: |15 |-[--v--] |=[--v--] |o[--v--]\n │ │ │ ║ ║ ║
|
|
39
39
|
| | | |15 |-! ! ! |=! ! ! |o! ! !\n 123456789012345├──┴──┤
|
|
@@ -45,9 +45,10 @@ description: "== Easily add colors, boxes, repetitions and emojis to your termin
|
|
|
45
45
|
\ |-!|18 !|4 |g&m|=!|20 !|n&n|O\n ├──────────────────┤ ╠════════════════════╣
|
|
46
46
|
\ |->|18-<|4 &m|g|=>|20-<|n&n|O\n │ │ ║ ║
|
|
47
47
|
\ |-!|18 !|4 |g&m|=!|20 !|n&n|O\n └──────────────────┘ ╚════════════════════╝
|
|
48
|
-
\ |-{|18-}|4 |g&m|={|20-}|n&n|O\n
|
|
49
|
-
number of characters to repeat and then the character to repeat.\n |15* does
|
|
50
|
-
* character 15 times like this: ***************\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"
|
|
51
52
|
email: minaswan.nakamoto@onionmail.org
|
|
52
53
|
executables:
|
|
53
54
|
- pipetext
|