cliops 4.0.3__py3-none-any.whl → 4.0.7__py3-none-any.whl
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.
- {cliops-4.0.3.dist-info → cliops-4.0.7.dist-info}/METADATA +1 -1
- {cliops-4.0.3.dist-info → cliops-4.0.7.dist-info}/RECORD +8 -8
- core/branding.py +9 -19
- main.py +30 -0
- {cliops-4.0.3.dist-info → cliops-4.0.7.dist-info}/WHEEL +0 -0
- {cliops-4.0.3.dist-info → cliops-4.0.7.dist-info}/entry_points.txt +0 -0
- {cliops-4.0.3.dist-info → cliops-4.0.7.dist-info}/licenses/LICENSE +0 -0
- {cliops-4.0.3.dist-info → cliops-4.0.7.dist-info}/top_level.txt +0 -0
@@ -1,9 +1,9 @@
|
|
1
|
-
main.py,sha256=
|
1
|
+
main.py,sha256=KvXstlf_Qfh3ESfiV6vwvcwA5vNaRUkPKlkl0lkF3Bg,10892
|
2
2
|
presets.py,sha256=DKIfhwxtBZEC5fYHgXqhuBKou7KYQks_2M8cR3IeWao,3172
|
3
|
-
cliops-4.0.
|
3
|
+
cliops-4.0.7.dist-info/licenses/LICENSE,sha256=2J5KKebeJ2AdMaxuYA1fX0ZuDs9MmWp3cpjZX-JqrZs,1079
|
4
4
|
core/__init__.py,sha256=aWl7MZaubJNqrafNCM5VRYg4SZ7sdifrxTWrJC8d-_s,24
|
5
5
|
core/analyzer.py,sha256=mwMmrlV-Pk31mMfKs0NPqBqY3cpNwCq_DWwGaurjPzI,4328
|
6
|
-
core/branding.py,sha256=
|
6
|
+
core/branding.py,sha256=iGIG0ThAlsYU3oDxlncjO_uTLtBfv4TKFcRO72RijGM,1118
|
7
7
|
core/cache.py,sha256=uDUPRr7Q5gLHl_sUzsybt2nXBl9TSsbo92K8stbs1Pk,1658
|
8
8
|
core/config.py,sha256=aoYCLt-EFM7WiR3_QN049_cfz9_SODuqnErte07DTVM,1388
|
9
9
|
core/optimizer.py,sha256=n72DSf4pc4dqW7g8KPH1GOw8W8qpdi6q45tI02miuok,7762
|
@@ -11,8 +11,8 @@ core/patterns.py,sha256=CW2uFm1z8pCeQCio2oT39vkEJ9z_ifF-oRJtoufcyEM,9310
|
|
11
11
|
core/setup.py,sha256=gP6IuoAbrUKpwHQIwlHHufZyd7F3ZUtg-B3TJgWmCAE,2865
|
12
12
|
core/state.py,sha256=pWAdv085KSc6V7Idy3DdVCL35QbICNcjO3chi09yvOU,2654
|
13
13
|
core/validation.py,sha256=2wTVQE9MsHeN_3WhV0EiixHmFd3EXzV5t67TS_auT9I,1896
|
14
|
-
cliops-4.0.
|
15
|
-
cliops-4.0.
|
16
|
-
cliops-4.0.
|
17
|
-
cliops-4.0.
|
18
|
-
cliops-4.0.
|
14
|
+
cliops-4.0.7.dist-info/METADATA,sha256=vrUQYTgX_slg5dRXG_QprArHmKKWlQnTVU2GLPdHWEQ,4182
|
15
|
+
cliops-4.0.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
16
|
+
cliops-4.0.7.dist-info/entry_points.txt,sha256=F8ZncVlnk83ELj0TGXUYS-qYvmaP-owQyU20I7jRefg,37
|
17
|
+
cliops-4.0.7.dist-info/top_level.txt,sha256=dV-NRp_bb_IkCFfEXDbA1mHA5SshVNbUsxaF809itG8,18
|
18
|
+
cliops-4.0.7.dist-info/RECORD,,
|
core/branding.py
CHANGED
@@ -24,23 +24,13 @@ def show_banner():
|
|
24
24
|
console.print()
|
25
25
|
|
26
26
|
def show_input_frame(prompt_text: str) -> str:
|
27
|
-
"""Display
|
28
|
-
|
29
|
-
panel = Panel(
|
30
|
-
f"[bold cyan]>> {prompt_text}[/bold cyan]",
|
31
|
-
border_style="white",
|
32
|
-
padding=(1, 2),
|
33
|
-
title="[dim]CLIOPS Input[/dim]",
|
34
|
-
title_align="left"
|
35
|
-
)
|
36
|
-
console.print(panel)
|
27
|
+
"""Display simple white-bordered input"""
|
28
|
+
console.print(f"\n[bold cyan]{prompt_text}[/bold cyan]")
|
37
29
|
|
38
|
-
#
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
console.print("[bold white]>>> [/bold white]", end="")
|
46
|
-
return input()
|
30
|
+
# Simple white border - one line above and below
|
31
|
+
console.print("[white]" + "-" * 52 + "[/white]")
|
32
|
+
print("| ", end="")
|
33
|
+
user_input = input()
|
34
|
+
console.print("[white]" + "-" * 52 + "[/white]")
|
35
|
+
|
36
|
+
return user_input
|
main.py
CHANGED
@@ -72,7 +72,37 @@ def _run_init_command(cli_state: CLIState, pattern_registry: PatternRegistry):
|
|
72
72
|
|
73
73
|
console.print(Panel("[bold green]Initialization complete![/bold green]", expand=False, border_style="green"))
|
74
74
|
|
75
|
+
def show_welcome_screen():
|
76
|
+
ascii_art = r"""
|
77
|
+
_____ _ _____ ____ _____ _____
|
78
|
+
/ ____| | |_ _/ __ \| __ \ / ____|
|
79
|
+
| | | | | || | | | |__) | (___
|
80
|
+
| | | | | || | | | ___/ \___ \
|
81
|
+
| |____| |____ _| || |__| | | ____) |
|
82
|
+
\_____|______|_____\____/|_| |_____/
|
83
|
+
"""
|
84
|
+
print('\n' + '='*60)
|
85
|
+
print(ascii_art)
|
86
|
+
print('\n your terminal prompt engineer, ready to serve')
|
87
|
+
print('='*60)
|
88
|
+
print('\n[QUICK START]')
|
89
|
+
print('\n# Initialize: cliops init')
|
90
|
+
print('# Set context: cliops state set ARCHITECTURE "React + Node.js"')
|
91
|
+
print('# Optimize: cliops "Create a user endpoint"')
|
92
|
+
print('# Analyze: cliops analyze "Make this better"')
|
93
|
+
print('# Patterns: cliops patterns')
|
94
|
+
print('\n' + '='*60)
|
95
|
+
print('[INFO] Run cliops --help for more options')
|
96
|
+
print('='*60 + '\n')
|
97
|
+
|
75
98
|
def main():
|
99
|
+
# Show welcome screen on first run
|
100
|
+
from pathlib import Path
|
101
|
+
welcome_file = Path.home() / ".cliops_welcome_shown"
|
102
|
+
if not welcome_file.exists():
|
103
|
+
show_welcome_screen()
|
104
|
+
welcome_file.touch()
|
105
|
+
|
76
106
|
# Show banner on startup
|
77
107
|
show_banner()
|
78
108
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|