simonw / simonw/llm

Would you be up for a PR that shows help on no options?

Open
#502 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
12.5k
Forks
998
Avg merge
3d 13h
Merged PRs (30d)
10

Description

Frequently, I was wondering what was wrong when I just typed llm and it sat at an empty terminal, without any error but without doing anything. IMO it would be preferrable to quit and show the help instead. Would you be up for a PR that shows the help when no argument are specified using no_args_is_help? Or is that not desired, because then llm without any options does not accept standard input anymore?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no file or test; start by locating the CLI entry point and checking how no_args_is_help is configured. Confirm the desired behavior for llm with no arguments, including whether standard input must remain supported, and add coverage for the agreed behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.