dotnet / dotnet/command-line-api

Input Formatting

未关闭
#167 0 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
C#
星标
3.7k
派生
428
PR 合并指标
30 天内没有已合并 PR

描述

In a similar way to output formats in #166, we should consider input formatting.
What can we do in System.CommandLine that allows us to pipe the output of objects from one program into another without requiring PowerShell?
E.g. Allow a user to run:
`GetADUsers.exe /Group PowerUsers /OutputFormat json | AddUsersToAzureGroup /InputFormat json`
Input formats could be handled for command line arguments or even via the console stdin.
There is also the concept of providing command line arguments from different providers such as files, command line, environment variables... etc.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。