chore(cleanup): remove obsolete scripts and update paths for production deployment
- Remove dev/scripts/check-file-organization.sh (obsolete organization checker) - Remove dev/scripts/community_onboarding.py (unused 559-line automation script) - Update gpu_miner_host.py log path from /home/oib/windsurf/aitbc to /opt/aitbc - Add service status and standardization badges to README.md
This commit is contained in:
21
dev/scripts/patches/patch_cli_utils.py
Normal file
21
dev/scripts/patches/patch_cli_utils.py
Normal file
@@ -0,0 +1,21 @@
|
||||
with open("/home/oib/windsurf/aitbc/cli/aitbc_cli/utils/__init__.py", "r") as f:
|
||||
content = f.read()
|
||||
|
||||
# Fix the output() function to accept a title keyword argument since it's used in many commands
|
||||
content = content.replace(
|
||||
"""def output(data: Any, format_type: str = "table"):""",
|
||||
"""def output(data: Any, format_type: str = "table", title: str = None):"""
|
||||
)
|
||||
|
||||
content = content.replace(
|
||||
""" table = Table(show_header=False, box=None)""",
|
||||
""" table = Table(show_header=False, box=None, title=title)"""
|
||||
)
|
||||
|
||||
content = content.replace(
|
||||
""" table = Table(box=None)""",
|
||||
""" table = Table(box=None, title=title)"""
|
||||
)
|
||||
|
||||
with open("/home/oib/windsurf/aitbc/cli/aitbc_cli/utils/__init__.py", "w") as f:
|
||||
f.write(content)
|
||||
Reference in New Issue
Block a user