[Freeipa-devel] [PATCH] 0550 ipalib.cli: Add filename argument to ipa console
Petr Viktorin
pviktori at redhat.com
Thu May 22 13:07:47 UTC 2014
Hello,
I find the `ipa console` command quite useful for testing, and it's
bothered me that it can't execute a script. Fixing this helps me. Would
it help anyone else?
This would need a ticket + design doc before it's pushed.
Compare:
$ (echo 'print 1'; echo 'print 2') | ipa console
(Custom IPA interactive Python console)
>>> 1
>>> 2
>>> [no newline]
$ ipa console <(echo 'print 1'; echo 'print 2')
1
2
--
Petr³
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pviktori-0550-ipalib.cli-Add-filename-argument-to-ipa-console.patch
Type: text/x-patch
Size: 1923 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20140522/266b90d3/attachment.bin>
More information about the Freeipa-devel
mailing list