https://github.com/you-saku/brace-replacer
replace brace to string
https://github.com/you-saku/brace-replacer
cli-app deno
Last synced: 2 months ago
JSON representation
replace brace to string
- Host: GitHub
- URL: https://github.com/you-saku/brace-replacer
- Owner: You-saku
- Created: 2023-05-18T18:05:08.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-31T12:59:56.000Z (about 3 years ago)
- Last Synced: 2026-04-08T08:39:29.720Z (3 months ago)
- Topics: cli-app, deno
- Language: TypeScript
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# brace-replacer
## Requirements
```
$ deno --version
deno 1.33.2 (release, x86_64-apple-darwin)
v8 11.4.183.1
typescript 5.0.3
```
## Feature
### 1. Convert brace
```sample-${env}-${name}-${env}``` → ```sample-local-you-saku-local```
## Usage
```
$ git clone git@github.com:You-saku/brace-replacer.git
$ cd brace-replacer
$ deno run --allow-read main.ts 'sample-{env}-{name}-{env}' ※single quotation marks only
```
If you have any questions, Please give me your feedback if you'd like.