dotnet / dotnet/command-line-api

Input Formatting

Open
#167 0 comments 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
C#
Stars
3.7k
Forks
428
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.