Skip to content

Commit

Permalink
V1.3.1 (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
4746 authored Jan 15, 2025
2 parents 3b48caa + da7baac commit a7debf7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ EXAMPLES
$ ctv cache --help
```

_See code: [src/commands/cache.ts](https://github.com/4746/transverto/blob/v1.2.3/src/commands/cache.ts)_
_See code: [src/commands/cache.ts](https://github.com/4746/transverto/blob/v1.3.1/src/commands/cache.ts)_

## `ctv export:csv [LANGCODE]`

Expand Down Expand Up @@ -93,7 +93,7 @@ EXAMPLES
$ ctv export:csv --eol=lf
```

_See code: [src/commands/export/csv.ts](https://github.com/4746/transverto/blob/v1.2.3/src/commands/export/csv.ts)_
_See code: [src/commands/export/csv.ts](https://github.com/4746/transverto/blob/v1.3.1/src/commands/export/csv.ts)_

## `ctv help [COMMANDS]`

Expand Down Expand Up @@ -137,7 +137,7 @@ EXAMPLES
$ ctv init --force
```

_See code: [src/commands/init.ts](https://github.com/4746/transverto/blob/v1.2.3/src/commands/init.ts)_
_See code: [src/commands/init.ts](https://github.com/4746/transverto/blob/v1.3.1/src/commands/init.ts)_

## `ctv label [ADD] [DELETE] [GET] [REPLACE] [SYNC]`

Expand All @@ -158,7 +158,7 @@ DESCRIPTION
Label management command.
```

_See code: [src/commands/label/index.ts](https://github.com/4746/transverto/blob/v1.2.3/src/commands/label/index.ts)_
_See code: [src/commands/label/index.ts](https://github.com/4746/transverto/blob/v1.3.1/src/commands/label/index.ts)_

## `ctv label:add [LABEL]`

Expand Down Expand Up @@ -190,7 +190,7 @@ EXAMPLES
$ ctv label:add "hello.world" -t "Hello World!"
```

_See code: [src/commands/label/add.ts](https://github.com/4746/transverto/blob/v1.2.3/src/commands/label/add.ts)_
_See code: [src/commands/label/add.ts](https://github.com/4746/transverto/blob/v1.3.1/src/commands/label/add.ts)_

## `ctv label:delete LABEL`

Expand All @@ -215,7 +215,7 @@ EXAMPLES
$ ctv label:delete hello.world
```

_See code: [src/commands/label/delete.ts](https://github.com/4746/transverto/blob/v1.2.3/src/commands/label/delete.ts)_
_See code: [src/commands/label/delete.ts](https://github.com/4746/transverto/blob/v1.3.1/src/commands/label/delete.ts)_

## `ctv label:get [LABEL]`

Expand Down Expand Up @@ -247,7 +247,7 @@ EXAMPLES
$ ctv label:get hello.world -fen
```

_See code: [src/commands/label/get.ts](https://github.com/4746/transverto/blob/v1.2.3/src/commands/label/get.ts)_
_See code: [src/commands/label/get.ts](https://github.com/4746/transverto/blob/v1.3.1/src/commands/label/get.ts)_

## `ctv label:replace LABEL`

Expand Down Expand Up @@ -275,7 +275,7 @@ EXAMPLES
$ ctv label:replace hello.world -t="Hello world!!!" -fen
```

_See code: [src/commands/label/replace.ts](https://github.com/4746/transverto/blob/v1.2.3/src/commands/label/replace.ts)_
_See code: [src/commands/label/replace.ts](https://github.com/4746/transverto/blob/v1.3.1/src/commands/label/replace.ts)_

## `ctv label:sync`

Expand All @@ -299,7 +299,7 @@ EXAMPLES
$ ctv label:sync "hello.world" -f="en"
```

_See code: [src/commands/label/sync.ts](https://github.com/4746/transverto/blob/v1.2.3/src/commands/label/sync.ts)_
_See code: [src/commands/label/sync.ts](https://github.com/4746/transverto/blob/v1.3.1/src/commands/label/sync.ts)_
<!-- commandsstop -->

---
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
],
"author": "Vadim",
"license": "MIT",
"version": "1.3.0",
"version": "1.3.1",
"bugs": "https://github.com/4746/transverto/issues",
"homepage": "https://github.com/4746/transverto",
"repository": "4746/transverto",
Expand Down
2 changes: 1 addition & 1 deletion src/shared/label-base.command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export abstract class LabelBaseCommand<T extends typeof Command> extends Command
}

return input({
default: UTIL.isString(label) ? UTIL.trimChars(label.trim(), '.*+?^${}()|[\\]\\\\').trim() : null,
default: UTIL.isString(label) ? UTIL.trimChars(label.trim(), '.*+?"^${}()|[\\]\\\\').trim() : null,
message: `Enter label:`,
validate: (v: string) => {
let isValid: boolean;
Expand Down

0 comments on commit a7debf7

Please sign in to comment.