Skip to content

feat: add human readable output to starlog list and debug output option#68

Merged
tanmayc07 merged 7 commits intomainfrom
feat/log
Nov 19, 2025
Merged

feat: add human readable output to starlog list and debug output option#68
tanmayc07 merged 7 commits intomainfrom
feat/log

Conversation

@tanmayc07
Copy link
Owner

@tanmayc07 tanmayc07 commented Nov 16, 2025

Key Changes

  • Enhances starlog list output to be more readable and properly formatted
  • Adds a seperate option for listing starlog entries for debug purposes
  • Adds a seperate option for listing the starlog entries one entry per line for quick glance
  • Adds appropriate course info to list output

Closes #58

@tanmayc07 tanmayc07 self-assigned this Nov 16, 2025
@tanmayc07 tanmayc07 added the enhancement New feature or request label Nov 16, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enhances the starlog listing functionality by adding human-readable output formats and debug options. The changes replace the verbose default list output with a cleaner format inspired by git's log display, and add two new listing modes for different use cases.

Key changes:

  • Refactored starlog list output to display in a git-like format with colored output
  • Added -ld / --list-debug option for detailed debug information
  • Added -l1 option for compact one-line listing of starlog entries
  • Extracted common starlog walking logic into a reusable walk_starlog_objects() function

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 11 comments.

File Description
ruxpy/starlog.py Implements three distinct list output formats (standard, debug, one-line) with colored formatting, adds helper functions for starlog object retrieval and styling
tests/test_starlog.py Updates test assertion to match new human-readable list output format

@tanmayc07 tanmayc07 merged commit fab3843 into main Nov 19, 2025
1 check passed
@tanmayc07 tanmayc07 deleted the feat/log branch November 19, 2025 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: add a --oneline option for starlog list

1 participant