-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: [CDS-85561]: processing string replacement input from cli (#90)
- Loading branch information
1 parent
141d8fc
commit 8a153d0
Showing
4 changed files
with
78 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
sidebar_position: 2 | ||
--- | ||
|
||
# Provide custom string replacement | ||
|
||
You can provide custom string replacement information using the `--replace` flag. This flag takes a YAML file as input. | ||
|
||
The YAML file should have the following structure: | ||
|
||
```yaml | ||
- old: "this is old" | ||
new: "this is new string" | ||
- old: "another old string" | ||
new: "another new string" | ||
``` | ||
The usage of the flag is as follows: | ||
```shell | ||
harness-upgrade --load file.yaml --replace replace.yaml app --all | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters