VisionSystemsInc / VisionSystemsInc/vsi_common

Write checkify

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

Nobody has claimed this yet.

feature just
Dominant language
Shell
Stars
8
Forks
9
Avg merge
36m
Merged PRs (30d)
1

Description

From #88, a checkify function would still be nice

  • Rename parsed_help_a into JUST_HELP_DATA or similar
  • Don't parse JUST_HELP_DATA more than once. Currently it's parsed every call to justify and again for print_help. This is overkill. Every call in .just is necessary, unfortunately. It's too complicated to know when "just" has changed
  • Write a checkify to check if a target exists, assuming JUST_HELP_DATA is set.

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 by locating the existing parsed_help_a or JUST_HELP_DATA flow, including the calls from justify and print_help. Review how .just targets are represented before defining checkify's target-existence check. Done means JUST_HELP_DATA is not redundantly parsed and checkify handles the stated target check.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.