A One-Command Pre-Flight Checklist for Developers: astro-tasks
DEV Community

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 gh CLI)
  • 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 only
  • astro log - coding stats
  • astro 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 need gh auth login.
  • Coding stats require a WakaTime config at ~/.wakatime.cfg.

Details

Feedback is welcome, especially on the JSON schema and multi-machine WakaTime setups.

Read on DEV Community ↗ ← Back to News

Comments

No comments yet. Start the discussion.