Setool Setup May 2026
@main.command() def info(): """Show tool information""" table = Table(title="SEtool Information") table.add_column("Property", style="cyan") table.add_column("Value", style="green") table.add_row("Version", "1.0.0") table.add_row("Status", "Ready") console.print(table)
# Load environment env_file = setool_home / ".env" if env_file.exists(): with open(env_file) as f: for line in f: if "=" in line: key, value = line.strip().split("=", 1) os.environ[key] = value setool setup
# setup.py import os import sys import json import shutil import subprocess from pathlib import Path from typing import Dict, List, Optional value = line.strip().split("="