Skip to content

Commit 697eeba

Browse files
author
Beren
committed
v1.0.5
1 parent 89ec84c commit 697eeba

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "l10n-tools",
3-
"version": "1.0.4",
3+
"version": "1.0.5",
44
"description": "Localization tools",
55
"main": "dist/index",
66
"scripts": {

src/l10n-cli.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env node
22

3+
import pkg from '../package'
34
import program from 'commander'
45
import jsonfile from 'jsonfile'
56
import findRoot from 'find-root'
@@ -15,8 +16,8 @@ async function run () {
1516
process.chdir(findRoot(process.cwd()))
1617

1718
let cmd = null
18-
program.version('0.1')
19-
.description('번역 추출, 동기화 툴')
19+
program.version(pkg.version)
20+
.description(pkg.description)
2021
.option('-r, --rcfile [rcfile]', '설정 파일 지정, 기본값은 .l10nrc')
2122
.option('-d, --domains [domains]', '적용할 도메인 지정, 없으면 설정 파일에 있는 모든 도메인 (콤마로 여러 도메인 나열 가능)', val => val.split(','))
2223
.option('-q, --quiet', '조용히')

0 commit comments

Comments
 (0)