Initial commit: CLI scaffold
This commit is contained in:
commit
388d72ecf7
16
LICENSE
Normal file
16
LICENSE
Normal 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
9
README.md
Normal 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
16
harborwatch/cli.py
Normal 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
1
requirements.txt
Normal file
@ -0,0 +1 @@
|
||||
click>=8.1.0
|
||||
Loading…
Reference in New Issue
Block a user