Issue #6774 has been updated by Richard Crowley.

Daniel Pittman wrote:
> It would be very nice to support the convention that `-` is an alias for 
> stdin when you provide a filename, or list of files, to read from.  This is 
> fairly natural to Unix folks, and does not conflict with the other use.

The - ended up not making sense as the argument to indirected interfaces is 
typically not a filename.  This could change when --stdin is meaningfully 
implemented on InterfaceBase rather than just IndirectorBase.
----------------------------------------
Feature #6774: Implement global flag for reading from STDIN
https://projects.puppetlabs.com/issues/6774

Author: Pieter van de Bruggen
Status: Accepted
Priority: High
Assignee: 
Category: interfaces
Target version: 2.6.x
Affected Puppet version: 
Keywords: 
Branch: 


One useful convention established by other command-line scripts is to read 
arguments from ARGV by default, opting to use STDIN if a '--stdin' flag is 
seen.  We should implement this same behavior, since it's useful for larger 
structures like Catalogs.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to