Bug 726446
Summary: | RFE: CLI: Add `batch` to interactive mode. | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Ondřej Žižka <ozizka> |
Component: | CLI | Assignee: | Nobody <nobody> |
Status: | NEW --- | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | medium | ||
Version: | 3.0.1 | CC: | hrupp |
Target Milestone: | --- | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | Type: | --- | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ondřej Žižka
2011-07-28 16:02:55 UTC
Workaround: Just found a trick for CLI. If you want to have a script but still want to be able to copy it to interactive CLI before https://bugzilla.redhat.com/show_bug.cgi?id=726446 is implemented (if ever :), then you can do this: try { // \ ... // No need for \ inside a block } // \ catch { // \ ... } And because you don't need \ inside the root block, you can simply do { // \ // whatever ... } So you can e.g. copy'n'paste whole function bodies, while only cluttering it's first line. HTH, Ondra |