working-with-steplogger
OfficialShow progress with StepLogger during runtime ops.
Authoropenkaiden
Version1.0.0
Installs0
System Documentation
What problem does it solve?
StepLogger provides user-facing progress feedback during runtime operations, displaying spinners and completion messages to improve the user experience during long-running tasks.
Core Features & Use Cases
- StepLogger Interface (
pkg/steplogger/steplogger.go): Contract for logging operational steps - TextLogger (
pkg/steplogger/text.go): Implementation with spinner animations for text output - NoOpLogger (
pkg/steplogger/noop.go): Silent implementation for JSON mode and tests - Context Integration (
pkg/steplogger/context.go): Attach/retrieve loggers from context - Injecting StepLogger into Context
- Logger Selection Rules
- Using StepLogger in Runtime Methods
- Automatic Behavior
- Testing StepLogger
- Reference Implementation
Quick Start
Attach the StepLogger to your command context and call Start/Complete in each runtime operation.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: working-with-steplogger Download link: https://github.com/openkaiden/kdn/archive/main.zip#working-with-steplogger Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.