Review, describe --tool and --ns-default cli options

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

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
50/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Active
Tech stack
clojure
Domain
cli, documentation

Research direction

Start with the README section that calls --ns-default "tool mode only", then locate where the CLI parses --tool and --ns-default in the bbin source and check the related tests or --help output. Answer the three combinations the issue lists and update the README so the intended behavior is explicit. Done means a newcomer can tell when to pass each option, and whether --ns-default implies tool mode.

Written by the indexing model from the issue text.

Description

While working on #44, I realized that I don't fully understand the --tool and --ns-default cli options.

The README says that --ns-default is for "tool mode only".

Some questions to answer:

  1. When would we supply --tool without --ns-default? What would that mean?
  2. I think --ns-default can be supplied without --tool if we want to override a project's bb.edn bbin/bin config.
  3. Does --ns-default imply tool mode? Should it imply --tool?
Dominant language
Clojure
Stars
195
Forks
15
Avg merge
1m
Merged PRs (30d)
2

Getting set up

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.

More from babashka/bbin

All issues in babashka/bbin

Similar issues

More Clojure issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.