Initial commit: CodeMap v0.1.0 - CLI tool for code analysis and diagram generation
This commit is contained in:
23
codemap/cli/app.py
Normal file
23
codemap/cli/app.py
Normal file
@@ -0,0 +1,23 @@
|
||||
import typer
|
||||
from rich.console import Console
|
||||
from codemap.cli.analyze import analyze
|
||||
from codemap.cli.watch import watch
|
||||
from codemap.cli.serve import serve
|
||||
|
||||
app = typer.Typer(
|
||||
name="codemap",
|
||||
help="A CLI tool that analyzes codebases and generates interactive architecture diagrams",
|
||||
add_completion=False
|
||||
)
|
||||
console = Console()
|
||||
|
||||
app.command()(analyze)
|
||||
app.command()(watch)
|
||||
app.command()(serve)
|
||||
|
||||
@app.callback()
|
||||
def callback():
|
||||
pass
|
||||
|
||||
def main():
|
||||
app()
|
||||
Reference in New Issue
Block a user