Require an explicit -- before Barn remote commands
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 55/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- go
- Domain
- cli, documentation
Research direction
Start by locating the ssh and exec command parsers and their Use lines, then review the README and site examples for the existing invocation forms. Check how node detection, warnings, and exit status are currently handled. Done means the 0.1.x warning and 0.2 usage error match the proposed grammar, with all listed documentation updated together.
Written by the indexing model from the issue text.
Description
Current behavior
barn ssh and barn exec accept a command without --. A known first argument selects a node; otherwise the command runs on the default node with a warning. Near-miss node names are rejected.
Proposed behavior
Require -- before remote commands:
barn ssh [node] [-- command...]barn exec [node] -- command...
An unknown node or a command without the separator should be a usage error. Keep help, completion, examples, and CLI tests consistent with the selected grammar.
This is a proposed CLI change; it is not implemented by the naming cleanup.
- Dominant language
- Go
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from pgsty/farrow
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
AOSSIE-Org/DebateAI#611 ·
Maintainers usually reply within 3 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
MHSanaei/3x-ui#6737 · 1 comment ·
Maintainers usually reply within 1 day
-
terraform-provider
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
ClickHouse/terraform-provider-clickhousedbops#281 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
open-telemetry/opentelemetry-go-compile-instrumentation#1450 ·
Maintainers usually reply within 2 days