cliops 4.0.6__py3-none-any.whl → 4.0.8__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.6.dist-info → cliops-4.0.8.dist-info}/METADATA +1 -1
- {cliops-4.0.6.dist-info → cliops-4.0.8.dist-info}/RECORD +7 -7
- main.py +30 -0
- {cliops-4.0.6.dist-info → cliops-4.0.8.dist-info}/WHEEL +0 -0
- {cliops-4.0.6.dist-info → cliops-4.0.8.dist-info}/entry_points.txt +0 -0
- {cliops-4.0.6.dist-info → cliops-4.0.8.dist-info}/licenses/LICENSE +0 -0
- {cliops-4.0.6.dist-info → cliops-4.0.8.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
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.8.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
6
|
core/branding.py,sha256=iGIG0ThAlsYU3oDxlncjO_uTLtBfv4TKFcRO72RijGM,1118
|
@@ -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.8.dist-info/METADATA,sha256=_Ox6xvcL0WU5pBdiCRdfT4X9vL7WvDl-_LHhei-L2so,4182
|
15
|
+
cliops-4.0.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
16
|
+
cliops-4.0.8.dist-info/entry_points.txt,sha256=F8ZncVlnk83ELj0TGXUYS-qYvmaP-owQyU20I7jRefg,37
|
17
|
+
cliops-4.0.8.dist-info/top_level.txt,sha256=dV-NRp_bb_IkCFfEXDbA1mHA5SshVNbUsxaF809itG8,18
|
18
|
+
cliops-4.0.8.dist-info/RECORD,,
|
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
|