Skip to content

feat: add file support to stacks-inspect commandsΒ #6774

@simone-stacks

Description

@simone-stacks

Some contrib/stacks-inspect commands that process encoded data (transactions, blocks, etc...) have inconsistent input handling - some only accept hex strings as arguments, others only file paths. This limits flexibility for scripting and piping workflows.

I think we should add unified file and stdin support to those commands, following the same convention used in contrib/clarity-cli:

  • "-" reads from stdin
  • File path reads from file
  • Direct value as fallback (backward compatible)

Metadata

Metadata

Assignees

Labels

featureBrand new functionality. New pages, workflows, endpoints, etc.

Projects

Status

Status: πŸ†• New

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions