CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-cli

A tool for rapidly building command line apps with argument parsing and stdin processing

62

1.31x
Overview
Eval results
Files

Evaluation results

35%

File Download Progress Tracker

Progress bar display

Criteria
Without context
With context

Uses cli.progress()

0%

0%

Correct progress values

0%

0%

Progressive updates

100%

100%

CLI package import

100%

100%

92%

22%

File Converter CLI

Command-line option definitions with short/long names

Criteria
Without context
With context

Uses cli.parse()

100%

100%

Defines short/long names

0%

100%

Specifies option types

100%

80%

Sets default values

100%

100%

Accesses parsed options

100%

100%

Handles required options

100%

100%

Array-based enum validation

0%

0%

100%

5%

File Processor CLI

Argument escape sequences (- and -- handling)

Criteria
Without context
With context

Uses cli.parse()

100%

100%

Escape sequence handling

100%

100%

Accesses parsed options

66%

100%

Accesses positional arguments

100%

100%

Handles multiple files

100%

100%

100%

System Status Reporter

Color output control and TTY detection

Criteria
Without context
With context

Status message methods

100%

100%

Status plugin

100%

100%

Argument parsing

100%

100%

No-color handling

100%

100%

Debug mode

100%

100%

Message content

100%

100%

API compliance

100%

100%

0%

-17%

Log File Processor

EOF handling in streaming input

Criteria
Without context
With context

withInput usage

0%

0%

EOF parameter handling

0%

0%

Line-by-line processing

25%

0%

Summary on EOF

80%

0%

File or stdin

0%

0%

10%

-10%

Log File Analyzer

Line-by-line file input processing

Criteria
Without context
With context

Uses cli.withInput()

0%

0%

Proper callback signature

0%

0%

Handles EOF correctly

0%

0%

Uses cli.parse()

100%

0%

Accumulates state correctly

100%

100%

Uses cli output methods

0%

0%

100%

45%

HTTP Request Logger

HTTP server creation with middleware stack pattern

Criteria
Without context
With context

Uses cli.createServer

0%

100%

Middleware function signature

100%

100%

Multiple middleware layers

0%

100%

Logging middleware implementation

100%

100%

Response middleware implementation

100%

100%

Server lifecycle management

100%

100%

100%

100%

Log Analyzer CLI Tool

STDIN reading and processing

Criteria
Without context
With context

STDIN reading method

0%

100%

Line processing approach

0%

100%

Callback pattern usage

0%

100%

Output handling

0%

100%

10%

7%

Log File Analyzer

Streaming line-by-line input with buffer management

Criteria
Without context
With context

Uses cli.parse()

0%

0%

Uses cli.withInput()

0%

0%

Line-by-line processing

0%

0%

Stdin handling

0%

33%

Callback completion

60%

100%

70%

-5%

File Processing Monitor

Terminal control with cursor manipulation

Criteria
Without context
With context

Progress bar usage

100%

100%

Spinner usage

50%

33%

Spinner prefix customization

100%

100%

Sequential processing implementation

33%

33%

Completion output

100%

100%

Install with Tessl CLI

npx tessl i tessl/npm-cli
Evaluated
Agent
Codex

Table of Contents