Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Require an explicit -- before Barn remote commands

Open
#11 3 comments 0 reactions 0 assignees View on GitHub

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

enhancement

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

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 pgsty/farrow

All issues in pgsty/farrow

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.