@kokiito0926/pseudoalias 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 +0 -6
  2. package/index.js +6 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -67,12 +67,6 @@ $ pseudoalias subtraction 2 1
67
67
  $ pseudoalias --unregister
68
68
  ```
69
69
 
70
- 下記のコマンドを.bashrcなどに追記すると、入力補完が効くようになります。
71
-
72
- ```bash
73
- $ complete -C "pseudoalias --completion" -o default pseudoalias
74
- ```
75
-
76
70
  ## ライセンス
77
71
 
78
72
  [MIT](LICENSE)
package/index.js CHANGED
@@ -42,11 +42,14 @@ const commands = argv._;
42
42
 
43
43
  const args = minimist(process.argv.slice(2));
44
44
  const config = args.config;
45
- const completion = args.completion;
46
45
  // console.log(argv);
47
46
  // console.log(args);
48
47
  // process.exit(0);
49
48
 
49
+ /*
50
+ const completion = args.completion;
51
+ */
52
+
50
53
  if (args.register) {
51
54
  if (args.config) {
52
55
  const absConfigPath = path.resolve(args.config);
@@ -100,6 +103,7 @@ try {
100
103
  // console.log(restArgs);
101
104
  // process.exit(0);
102
105
 
106
+ /*
103
107
  if (completion) {
104
108
  const args2 = process.argv;
105
109
  const prevWord = args2[args2.length - 1];
@@ -115,6 +119,7 @@ try {
115
119
  }
116
120
  process.exit(0);
117
121
  }
122
+ */
118
123
 
119
124
  if (!subCommand) {
120
125
  const availableFunctions = Object.keys(aliasModule).filter((k) => k !== "default");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kokiito0926/pseudoalias",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "private": false,
5
5
  "description": "擬似的なエイリアスを作成することができるコマンドラインのツールです。",
6
6
  "keywords": [