@kokiito0926/fs2xml 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +2 -2
  2. package/index.js +4 -4
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -44,10 +44,10 @@ $ fs2xml "./src/**/*" --dot true
44
44
 
45
45
  デフォルトでは、自動的に.gitignoreが読み込まれるようになっております。
46
46
  globのパターンの親ディレクトリから、現在の作業中のディレクトリまでさかのぼり、.gitignoreが探索されます。
47
- --gitignoreのオプションを用いれば、そのような挙動を無効化することができます。
47
+ --gitignoreのオプションにfalseを渡すようにすれば、そのような挙動を無効化することができます。
48
48
 
49
49
  ```bash
50
- $ fs2xml "./src/**/*" --gitignore true
50
+ $ fs2xml "./src/**/*" --gitignore false
51
51
  ```
52
52
 
53
53
  ## 出力例
package/index.js CHANGED
@@ -107,8 +107,8 @@ if (files.length === 1) {
107
107
  .txt(data.path)
108
108
  .up()
109
109
  .ele("content")
110
- .txt(data.content)
111
- // .dat(data.content)
110
+ // .txt(data.content)
111
+ .dat(data.content)
112
112
  .up()
113
113
  .end({ prettyPrint: true });
114
114
  } else {
@@ -134,8 +134,8 @@ if (files.length === 1) {
134
134
  .txt(f.path)
135
135
  .up()
136
136
  .ele("content")
137
- .txt(f.content)
138
- // .dat(f.content)
137
+ // .txt(f.content)
138
+ .dat(f.content)
139
139
  .up()
140
140
  .up();
141
141
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kokiito0926/fs2xml",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "private": false,
5
5
  "description": "ファイルをXML形式でまとめることができるコマンドラインのツールです。",
6
6
  "keywords": [