Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements-dev.txt
pip install -e .
- name: Lint
run: ruff check .
Expand Down
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ ANGEL (Automated Navigator for Gathering and Executing Local tools) is a cross-p
```bash
python -m venv .venv
source .venv/bin/activate # Windows: .\.venv\Scripts\Activate.ps1
pip install -r requirements.txt

pip install --prefer-binary -r requirements.txt

pip install -e .
angel init
angel web
Expand All @@ -22,11 +24,7 @@ angel web
Configuration is stored in `~/.config/angel/config.toml` (Linux/macOS) or `%APPDATA%\angel\config.toml` (Windows). Use `angel config` to manage settings.

## Development
```bash
pip install -r requirements-dev.txt
pre-commit install
pytest
```


## License
MIT
6 changes: 0 additions & 6 deletions angel_cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@
from __future__ import annotations

import click
from rich.console import Console

from angel_cli.commands import auth, config, maintenance, repos, tools

console = Console()


@click.group(help="ANGEL CLI - manage tools and repositories.")
@click.option("--config-path", type=click.Path(), help="Custom config path.")
Expand Down
8 changes: 3 additions & 5 deletions angel_cli/commands/auth.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
"""Authentication commands."""
import click
from rich.console import Console

console = Console()


@click.group(name="auth", help="Authentication commands.")
Expand All @@ -13,16 +11,16 @@ def group() -> None:
@group.command("login")
def login() -> None:
"""Login to the local instance."""
console.print("[green]Login flow not yet implemented.[/green]")



@group.command("logout")
def logout() -> None:
"""Logout from the local instance."""
console.print("[green]Logout flow not yet implemented.[/green]")



@group.command("change-password")
def change_password() -> None:
"""Change the current user's password."""
console.print("[yellow]Password change not yet implemented.[/yellow]")

5 changes: 2 additions & 3 deletions angel_cli/commands/config.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
"""Configuration commands."""
import click
from rich.console import Console

console = Console()


@click.group(name="config", help="Configuration management.")
Expand All @@ -13,4 +11,5 @@ def group() -> None:
@group.command("show")
def show_config() -> None:
"""Show current configuration."""
console.print("[green]Config display not yet implemented.[/green]")


4 changes: 1 addition & 3 deletions angel_cli/commands/maintenance.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
"""Maintenance commands."""
import click
from rich.console import Console

console = Console()


@click.group(name="maintenance", help="Maintenance tasks.")
Expand All @@ -13,4 +11,4 @@ def group() -> None:
@group.command("doctor")
def doctor() -> None:
"""Run a health check."""
console.print("[green]All checks passed (stub).[/green]")

4 changes: 1 addition & 3 deletions angel_cli/commands/repos.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
"""Repository commands."""
import click
from rich.console import Console

console = Console()


@click.group(name="repos", help="Manage repositories.")
Expand All @@ -13,4 +11,4 @@ def group() -> None:
@group.command("list")
def list_repos() -> None:
"""List tracked repositories."""
console.print("[green]No repositories available (stub).[/green]")

6 changes: 2 additions & 4 deletions angel_cli/commands/tools.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
"""Tool management commands."""
import click
from rich.console import Console

console = Console()


@click.group(name="tools", help="Manage tools.")
Expand All @@ -13,11 +11,11 @@ def group() -> None:
@group.command("list")
def list_tools() -> None:
"""List stored tools."""
console.print("[green]No tools available (stub).[/green]")



@group.command("add")
@click.argument("path", required=False)
def add_tool(path: str | None) -> None:
"""Add a tool from a file path."""
console.print(f"[green]Add tool stub: {path}[/green]")

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ classifiers = [
]
dependencies = [
"click>=8.1.7",
"rich>=13.7.0",

"fastapi>=0.110.0",
"uvicorn>=0.27.1",
"jinja2>=3.1.3",
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
click>=8.1.7
rich>=13.7.0
fastapi>=0.110.0
uvicorn>=0.27.1
jinja2>=3.1.3
Expand Down
2 changes: 0 additions & 2 deletions scripts/dev_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@
set -euo pipefail
python -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt -r requirements-dev.txt
pip install -e .
5 changes: 1 addition & 4 deletions setup-angel.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,7 @@ try {
throw "Virtual environment not created."
}

& $venvPython -m pip install --upgrade pip
& $venvPython -m pip install -r requirements.txt
if ($DevMode) {
& $venvPython -m pip install -r requirements-dev.txt

}
& $venvPython -m pip install -e .

Expand Down
3 changes: 1 addition & 2 deletions setup-angel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ fi

python -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt

pip install -e .

if ! git remote | grep -q origin; then
Expand Down
Loading