humanmade / humanmade/altis-local-server

Improvements to `log` sub command

Open
#203 2 comments 2 reactions 0 assignees View on GitHub
could have developer advocacy
Dominant language
PHP
Stars
18
Forks
5
Avg merge
8d 1h
Merged PRs (30d)
11

Description

It would be good if `composer server log` allowed some more options:

- Ability to clear the logs for a given service
- Ability to pass `-n [number]` to only output the last X lines of the log
- Displaying logs for a service need not show the service name on every line

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the implementation and tests for the `composer server log` command. Check how service logs are currently selected and displayed, then assess the three requested behaviors: clearing a service's logs, limiting output with `-n`, and omitting repeated service names; the work is done when each behavior is covered and verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.