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