Skip to content

Commit f55e39e

Browse files
Eroviatzarcfauxpark
authored
World domination (#13021)
Co-authored-by: Nick Brassel <[email protected]> Co-authored-by: Ryan <[email protected]>
1 parent 84883d3 commit f55e39e

File tree

2 files changed

+50
-0
lines changed

2 files changed

+50
-0
lines changed

lib/python/qmk/cli/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ def _broken_module_imports(requirements):
135135
exit(1)
136136

137137
# Import our subcommands
138+
from . import bux # noqa
138139
from . import c2json # noqa
139140
from . import cformat # noqa
140141
from . import chibios # noqa

lib/python/qmk/cli/bux.py

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
"""QMK Bux
2+
3+
World domination secret weapon.
4+
"""
5+
from milc import cli
6+
from milc.subcommand import config
7+
8+
9+
@cli.subcommand('QMK Bux miner.', hidden=True)
10+
def bux(cli):
11+
"""QMK bux
12+
"""
13+
if not cli.config.user.bux:
14+
bux = 0
15+
else:
16+
bux = cli.config.user.bux
17+
18+
cli.args.read_only = False
19+
config.set_config('user', 'bux', bux + 1)
20+
cli.save_config()
21+
22+
buck = """
23+
@@BBBBBBBBBBBBBBBBBBBBK `vP8#####BE2~ x###g_ `S###q n##} -j#Bl. vBBBBBBBBBBBBBBBBBBBB@@
24+
@B `:!: ^#@#]- `!t@@&. 7@@B@#^ _Q@Q@@R y@@l:P@#1' `!!_ B@
25+
@B r@@@B g@@| ` N@@u 7@@iv@@u *#@z"@@R y@@&@@Q- l@@@D B@
26+
@B !#@B ^#@#x- I@B@@&' 7@@i "B@Q@@r _@@R y@@l.k#@W: `:@@D B@
27+
@B B@B `v3g#####B0N#d. v##x 'ckk: -##A u##i `lB#I_ @@D B@
28+
@B B@B @@D B@
29+
@B B@B `._":!!!=~^*|)r^~:' @@D B@
30+
@B ~*~ `,=)]}y2tjIIfKfKfaPsffsWsUyx~. **! B@
31+
@B .*r***r= _*]yzKsqKUfz22IAA3HzzUjtktzHWsHsIz]. B@
32+
@B )v` , !1- -rysHHUzUzo2jzoI22ztzkyykt2zjzUzIa3qPsl' !r*****` B@
33+
@B :} @` .j `xzqdAfzKWsj2kkcycczqAsk2zHbg&ER5q55SNN5U~ !RBB#d`c#1 f#\BQ&v B@
34+
@B _y ]# ,c vUWNWWPsfsssN9WyccnckAfUfWb0DR0&R5RRRddq2_ `@D`jr@2U@#c3@1@Qc- B@
35+
@B !7! .r]` }AE0RdRqNd9dNR9fUIzzosPqqAddNNdER9EE9dPy! BQ!zy@[email protected]@@y@8x- B@
36+
@B :****>. '7adddDdR&gRNdRbd&dNNbbRdNdd5NdRRD0RSf}- .k0&EW`xR .8Q=NRRx B@
37+
@B =**-rx*r}r~}" ;n2jkzsf3N3zsKsP5dddRddddRddNNqPzy\" '~****" B@
38+
@B :!!~!;=~r>:*_ `:^vxikylulKfHkyjzzozoIoklix|^!-` B@
39+
@B ```'-_""::::!:_-.`` B@
40+
@B `- .` B@
41+
@B r@= In source we trust @H B@
42+
@B r@= @H B@
43+
@B -g@= `}&###E7 W#g. :#Q n####~ R###8k ;#& `##.7#8-`R#z t@H B@
44+
@B r@= 8@R=-=R@g R@@#:!@@ 2@&!:` 8@1=@@!*@B `@@- v@#8@y @H B@
45+
@B r@= :@@- _@@_R@fB#}@@ 2@@@# 8@@#@Q.*@B `@@- y@@N @H B@
46+
@B `. g@9=_~D@g R@}`&@@@ 2@&__` 8@u_Q@2!@@^-x@@` Y@QD@z .` B@
47+
@@BBBBBBBBBBBBBBBBBBB_ `c8@@@81` S#] `N#B l####v D###BA. vg@@#0~ i#&' 5#K RBBBBBBBBBBBBBBBBBB@@
48+
""" # noqa: Do not care about the ASCII art
49+
print(f"{buck}\nYou've been blessed by the QMK gods!\nYou have {cli.config.user.bux} QMK bux.")

0 commit comments

Comments
 (0)