johnynek / johnynek/bosatsu

have an arg-file mode to the CLI

Open
#413 0 comments 0 reactions 0 assignees View on GitHub
cli
Dominant language
Scala
Stars
234
Forks
12
Avg merge
5d 17h
Merged PRs (30d)
21

Description

often (we should be so lucky) one hits a limit of the arg length a program can test. The canonical solution to this is to pass a file and we read that and parse the args out of the file.

We could have `bosatsu file-command --input foo`.

One wild idea is that the format of the file should be a bosatsu file that evaluates to an expression of type `List[String]`, or even `List[List[String]]` which is interpreted many runs of the command.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the Bosatsu CLI argument parser and reviewing how file-command currently receives arguments. Resolve whether --input should read one argument list or evaluate a Bosatsu expression producing List[String] or List[List[String]], then add coverage showing that the selected format avoids command-line length limits.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
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.