hashicorp / hashicorp/nomad-pack

Can't redirect nomad-pack output

Open
#259 0 comments 0 reactions 0 assignees View on GitHub
bug/glint hcc/jira theme/cli
Dominant language
Go
Stars
447
Forks
65
PR merge metrics
No merged PRs in 30d

Description

As mentioned in #163, it's not possible to redirect nomad-pack's output. While #168 partially solves the issue for render, it still doesn't allow for instance capturing `info` output.

Also worth noting that even for render, just because it can output multiple files isn't a reason not to support redirection. If the user can get something output on stdout, they would expect to be able to redirect it like anything else.

Contributor guide

Open the contributing guide

Research direction

Review the context in issues #163 and #168 first to understand the existing render behavior and the requested output semantics. Trace how nomad-pack commands emit render and info output, then define completion as allowing users to redirect supported stdout output, including info and render output that may span multiple files.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.