Initial commit: CLI scaffold

This commit is contained in:
Devon Okafor 2026-01-14 10:05:00 +00:00
commit 388d72ecf7
4 changed files with 42 additions and 0 deletions

16
LICENSE Normal file
View File

@ -0,0 +1,16 @@
MIT License
Copyright (c) 2026 Holtrix Devtools
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.

9
README.md Normal file
View File

@ -0,0 +1,9 @@
# HarborWatch CLI
Internal command line tool for checking rollout status across Holtrix's service fleet. Wraps the deploy API with a friendlier interface for on-call engineers.
## Usage
```
harborwatch status --service <name>
```

16
harborwatch/cli.py Normal file
View File

@ -0,0 +1,16 @@
"""HarborWatch CLI entrypoint."""
import click
from .checks import fleet_status
@click.group()
def main():
"""Check rollout status across the service fleet."""
@main.command()
@click.option("--service", required=True, help="Service name to check")
def status(service):
click.echo(fleet_status(service))

1
requirements.txt Normal file
View File

@ -0,0 +1 @@
click>=8.1.0