A new field 'ReadArgsFromStdin' has been added to Command. This flag will be applicable to root command only and will allow the root command to process arguments from cmdline as well as from standard input.
[![👍 Frogbot scanned this pull request and found that it did not add vulnerable dependencies.](https://raw.githubusercontent.com/jfrog/frogbot/master/resources/v2/noVulnerabilityBannerPR.png)](https://github.com/jfrog/frogbot#readme)
Note:
---
**Frogbot** also supports **Contextual Analysis, Secret Detection, IaC and SAST Vulnerabilities Scanning**. This features are included as part of the [JFrog Advanced Security](https://jfrog.com/advanced-security) package, which isn't enabled on your system.
What type of PR is this?
(REQUIRED)
What this PR does / why we need it:
(REQUIRED)
Which issue(s) this PR fixes:
(REQUIRED)
Fixes #1720
Special notes for your reviewer:
(fill-in or delete this section)
Testing
go test -run=TestCommandReadArgsFromStdIn
(fill-in or delete this section)
Release Notes
(REQUIRED)
A new field 'ReadArgsFromStdin' has been added to Command. This flag will be applicable to root command only and will allow the root command to process arguments from cmdline as well as from standard input.