New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[dev.icinga.com #5933] command argument conditionals #1414
Comments
Updated by gbeutner on 2014-04-06 08:50:05 +00:00 How about this:
|
Updated by gvegidy on 2014-04-06 12:17:03 +00:00 I like the more C-like syntax proposed by Gunnar better than the postfix-if. I think it is more easy to read and probably the users are more familiar with this syntax as most programming languages (except maybe perl) don't support the postfix if. |
Updated by tgelf on 2014-04-15 12:25:24 +00:00 I don't like the ideo to have powerful language constructs like function() and if/else in 2.0.x. What about something like this:
Cheers, |
Updated by tgelf on 2014-04-15 12:28:27 +00:00 I added a relation to #5926: this feature should also play fine with existing backends visualizing command information. |
Updated by gbeutner on 2014-04-25 13:18:48 +00:00
|
Updated by mfriedrich on 2014-04-25 13:53:39 +00:00
|
Updated by gbeutner on 2014-04-26 11:18:14 +00:00 This is how it's currently implemented:
|
Updated by Anonymous on 2014-04-26 11:18:22 +00:00
Applied in changeset c21817376df43e080ecf3e8cb4cd469a21a1a709. |
Updated by mfriedrich on 2014-04-28 08:25:01 +00:00
|
Updated by mfriedrich on 2014-04-28 08:48:25 +00:00
|
Updated by mfriedrich on 2014-04-29 12:12:41 +00:00
|
Updated by mfriedrich on 2014-05-02 22:51:48 +00:00
|
Updated by gbeutner on 2014-05-11 03:16:03 +00:00 What's missing here? |
Updated by mfriedrich on 2014-05-11 09:00:46 +00:00 Documentation. Should be somewhere in the basics section when introducing commands, or in detail on the *command object type docs. Your opinion? |
Updated by Anonymous on 2014-05-11 11:10:03 +00:00
Applied in changeset f499d93. |
This issue has been migrated from Redmine: https://dev.icinga.com/issues/5933
Created by mfriedrich on 2014-04-03 18:33:29 +00:00
Assignee: mfriedrich
Status: Resolved (closed on 2014-05-11 11:10:03 +00:00)
Target Version: 0.0.11
Last Update: 2014-05-11 11:10:03 +00:00 (in Redmine)
If variable is set, add entries to command line.
Changesets
2014-04-26 11:16:08 +00:00 by (unknown) c21817376df43e080ecf3e8cb4cd469a21a1a709
2014-04-26 13:03:38 +00:00 by (unknown) d617c7b
2014-04-26 14:40:30 +00:00 by (unknown) 1631d79
2014-04-26 16:31:49 +00:00 by (unknown) 9b9ee5c
2014-04-29 08:33:09 +00:00 by gbeutner 17d277f
2014-05-11 11:05:32 +00:00 by (unknown) f499d93
Relations:
The text was updated successfully, but these errors were encountered: