A One-Command Pre-Flight Checklist for Developers: astro-tasks
A One-Command Pre-Flight Checklist for Developers: astro-tasks
Before starting work, I used to open three tabs: GitHub notifications, the WakaTime dashboard, and a git status sweep across local repos. I built astro-tasks to put all of that into a single terminal command.
Installation
pip install astro-tasks
The Main Command
Running astro check covers three areas at once:
- GitHub notifications + open PRs (via the
ghCLI) - Coding stats for the last 7 days - total, daily average, top projects, and languages (via WakaTime)
- Local repo health scan - branch, dirty state, unpushed commits
Subcommands
Subcommands cover the individual subsets:
astro scan- repos onlyastro log- coding statsastro config- configuration
Machine-Readable Output
astro check --json
Emits the same data as machine-readable JSON, so you can pipe it into other tools.
Caveats
- It shells out to
gh, so you needgh auth login. - Coding stats require a WakaTime config at
~/.wakatime.cfg.
Details
- Language: Python 3.8+
- License: MIT
- Repo: https://github.com/3ni8ma/astro-tasks
Feedback is welcome, especially on the JSON schema and multi-machine WakaTime setups.
Comments
No comments yet. Start the discussion.