liquid-labs / liquid-labs/command-line-documentation

Implement 'usage' support

Open
#2 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

## Overview

We want to be able to provide 'usage' output from the same library. This would replace 'command-line-usage'. To make this work, we want to be able to support 'chalk' and 'terminal-text' style outputs.

- we watn to support terminal coloring via chalk style markups
- accept markdown and chalk text blocks (summaries and descriptions) and convert between them
- use same set format (this differs from 'command-line-usage' which requires you define the sections.

## Deliverables

- [ ] implement `commandLineUsage()`

Contributor guide

No contributing guide indexed for this repository

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

Start with the requested commandLineUsage() entry point and review how the library currently formats command-line output. Done means supporting chalk-style terminal coloring, converting markdown and chalk text blocks, using the same set format, and replacing command-line-usage.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.