pipetext 0.0.9 → 0.0.10
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 +34 -32
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
3
|
+
metadata.gz: 5b2e1a080644730f868e78586011ddc90539fe22ecf6eacca67c9827f49283ce
|
|
4
4
|
data.tar.gz: bbd2b7e0ed511c0131c16ceeed533166623aeb3615aeabb90c8444b8e60a62aa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
6
|
+
metadata.gz: 5feb77c9978527e168a0edd00c99c0e45352f3b971a106f79e4d3424d681bf2e0a5f6a489ad0d74a9d753c5f4b031af156e0f85d5f3c96617a6eb7961201bbaa
|
|
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.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Minaswan Nakamoto
|
|
@@ -15,37 +15,39 @@ 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
|
-
|
|
22
|
-
|
|
23
|
-
\
|
|
24
|
-
\
|
|
25
|
-
\ &y\
|
|
26
|
-
codes: Foreground |#RRGGBB Background &#RRGGBB\
|
|
27
|
-
Hex: |p33&pF8 Clear Screen |!\
|
|
28
|
-
\
|
|
29
|
-
with green background |s&g Underlined |_\
|
|
30
|
-
\
|
|
31
|
-
|
|
32
|
-
green with red background |G&r
|
|
33
|
-
\
|
|
34
|
-
|
|
35
|
-
|[
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
\
|
|
46
|
-
\ |-!|18 !|4 |g&m|=!|20 !|n&n|O\n
|
|
47
|
-
\
|
|
48
|
-
|
|
18
|
+
line interface too:\n \n > pipetext\n\n > pipetext '|Ccyan|n'\n \nUse the ++pipetext++
|
|
19
|
+
command to see other options and examples.\n\n \n | pipe || & ampersand &&
|
|
20
|
+
\ Toggle (&) background color mode |&\n smoke |s white |W black
|
|
21
|
+
text on white background |k&w\n red |r bright red |R red background
|
|
22
|
+
\ &r\n green |g bright green |G green background &g\n blue |b
|
|
23
|
+
\ bright blue |B blue background &b\n cyan |c bright cyan |C
|
|
24
|
+
\ cyan background &c\n yellow |y bright yellow |Y yellow background
|
|
25
|
+
\ &y\n magenta |m bright magenta |M magenta background &m\n Hex RGB color
|
|
26
|
+
codes: Foreground |#RRGGBB Background &#RRGGBB\n Palette colors (256)
|
|
27
|
+
using Hex: |p33&pF8 Clear Screen |!\n black with white background |K&w
|
|
28
|
+
\ Blinking |@\n white with magenta background |w&m invert
|
|
29
|
+
\ |i\n smoke with green background |s&g Underlined |_\n
|
|
30
|
+
\ red with cyan background |r&c Italics |~\n bright red
|
|
31
|
+
with blue background |R&b Bold |+\n green with yellow background
|
|
32
|
+
\ |g&y Faint |.\n bright green with red background |G&r
|
|
33
|
+
\ Crossed out |x\n normal color and background |n&n Escape
|
|
34
|
+
Sequence |\n Example unicode sequences: https://unicode.org/emoji/charts/full-emoji-list.html\n
|
|
35
|
+
\ |[CLDR Short Name] ⚙ |[gear] \U0001F60D |[smiling face with heart-eyes]
|
|
36
|
+
\ \U0001F4A4 |[zzz]\n ✔ |U2714 ❌ |U274c ☮
|
|
37
|
+
|u262E \U0001F48E |u1f48e \U0001F49C |u1f49c\n\n Single or double line
|
|
38
|
+
box mode with |- or |=\n \n ┌──┬──┐ ╔══╦══╗ +--+--+ <-- Draw this
|
|
39
|
+
with this: |15 |-[--v--] |=[--v--] |o[--v--]\n │ │ │ ║ ║ ║
|
|
40
|
+
| | | |15 |-! ! ! |=! ! ! |o! ! !\n 123456789012345├──┴──┤
|
|
41
|
+
╠══╩══╣ +--+--+ |y1234567890|g12345|n|->--^--< |=>--^--< |o>--^--< \n
|
|
42
|
+
\ 15 Spaces │ │ ║ ║ | | |c15|n Spaces|6 |-! !
|
|
43
|
+
|=! ! |o! !\n (|15 ) └─────┘ ╚═════╝ +-----+ (||15
|
|
44
|
+
)|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 using | followed by the
|
|
50
|
+
number of characters to repeat and then the character to repeat.\n |15* does the
|
|
49
51
|
* character 15 times like this: ***************\n"
|
|
50
52
|
email: minaswan.nakamoto@onionmail.org
|
|
51
53
|
executables:
|