- Change file mode from 644 to 755 for all project files - Add chain_id parameter to get_balance RPC endpoint with default "ait-devnet" - Rename Miner.extra_meta_data to extra_metadata for consistency
22 lines
793 B
Python
Executable File
22 lines
793 B
Python
Executable File
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)
|