Details
-
Type:
Improvement Request
-
Status:
New
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 3.1.1 - Petals CLI
-
Fix Version/s: None
-
Component/s: Command-line, UI
-
Security Level: Public
-
- Environment:
- -
Issue Links
| Depends | |||
|---|---|---|---|
|
|
|
||
Activity
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Christophe DENEUX [ cdeneux ] | |
| Priority | Major [ 3 ] | |
| Description |
Add a new command to update placeholders:
{{> ./petals-cli.sh -c -- update-configuration [ -u <artifact-file> | -a <artifact-id> ] [ --placeholders <placeholders-file-url> ]}} {{> ./petals-cli.sh -c -- update-configuration [ -u <artifact-file> | -a <artifact-id> ] [ -p (--placeholder) <placeholder-name> ] [ -v (--value) <placeholder-value> ]}} The first form replace existing placeholder definitions by the new one. The second form creates or updates the placeholder provided. |
Add a new command to update placeholders:
{{> ./petals-cli.sh -c \-- update-configuration [ -u <artifact-file> | -a <artifact-id> ] [ \--placeholders <placeholders-file-url> ]}} {{> ./petals-cli.sh -c \-- update-configuration [ -u <artifact-file> | -a <artifact-id> ] [ -p (\--placeholder) <placeholder-name> ] [ -v (\--value) <placeholder-value> ]}} The first form replace existing placeholder definitions by the new one. The second form creates or updates the placeholder provided. |
| Description |
Add a new command to update placeholders:
{{> ./petals-cli.sh -c \-- update-configuration [ -u <artifact-file> | -a <artifact-id> ] [ \--placeholders <placeholders-file-url> ]}} {{> ./petals-cli.sh -c \-- update-configuration [ -u <artifact-file> | -a <artifact-id> ] [ -p (\--placeholder) <placeholder-name> ] [ -v (\--value) <placeholder-value> ]}} The first form replace existing placeholder definitions by the new one. The second form creates or updates the placeholder provided. |
Add a new command to update placeholders:
{{> ./petals-cli.sh \-c \-- update-configuration [ -u <artifact-file> | -a <artifact-id> ] [ \--placeholders <placeholders-file-url> ]}} {{> ./petals-cli.sh \-c \-- update-configuration [ -u <artifact-file> | -a <artifact-id> ] [ -p (\--placeholder) <placeholder-name> ] [ -v (\--value) <placeholder-value> ]}} The first form replace existing placeholder definitions by the new one. The second form creates or updates the placeholder provided. |
| Link | This issue blocks PETALSDISTRIB-402 [ PETALSDISTRIB-402 ] |
| Description |
Add a new command to update placeholders:
{{> ./petals-cli.sh \-c \-- update-configuration [ -u <artifact-file> | -a <artifact-id> ] [ \--placeholders <placeholders-file-url> ]}} {{> ./petals-cli.sh \-c \-- update-configuration [ -u <artifact-file> | -a <artifact-id> ] [ -p (\--placeholder) <placeholder-name> ] [ -v (\--value) <placeholder-value> ]}} The first form replace existing placeholder definitions by the new one. The second form creates or updates the placeholder provided. |
Add a new command to update placeholders:
{{> ./petals-cli.sh \-c \-- update-configuration [ -u <artifact-file> | -a <artifact-id> ] [ \-p (\--placeholders-file) <placeholders-file-url> ]}} {{> ./petals-cli.sh \-c \-- update-configuration [ -u <artifact-file> | -a <artifact-id> ] [ -P (\--placeholders) <key1>=<value1>,<key2>=<value2> ]}} Both commands form creates or updates the placeholder provided, placeholders cannot be removed. |
What happens if -v is omitted? Is the placeholder unset or a message is shown because -v is required?
If the placeholder is not unset, the only way to unset it is to use an empty (or the original) properties file and set other placeholders again?