baidu / baidu/tera

the command 'teracli show' should support output paging

Open
#1,046 8 comments 0 reactions 0 assignees View on GitHub
class/newfeature module/sdk stat/ready-to-do
Dominant language
C++
Stars
1.9k
Forks
432
PR merge metrics
No merged PRs in 30d

Description

类似git log的效果,一屏可以显示全就直接显示,否则进入less模式,如果后面跟了管道也直接输出全部

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the teracli show command entry point and inspect how it currently writes output. Compare its behavior with the requested git log-style paging: display directly when one screen fits, use less for longer interactive output, and emit all output when piped.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.