Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit d5c4598

Browse files
authored
Merge pull request #451 from ipfs/fix/cli-files
fix(cli): fix the files API commands
2 parents 418660f + 138f519 commit d5c4598

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

src/cli/commands/files.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@
33
module.exports = {
44
command: 'files',
55

6-
description: '',
6+
description: 'Unixfs commands',
77

88
builder (yargs) {
99
return yargs
1010
.commandDir('files')
1111
},
1212

13-
handler (argv) {
14-
}
13+
handler (argv) {}
1514
}

src/cli/commands/files/add.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@ function checkPath (inPath, recursive) {
3434
return inPath
3535
}
3636

37-
module.exports = command
38-
39-
const command = {
37+
module.exports = {
4038
command: 'add <file>',
4139

4240
describe: 'Add a file to IPFS using the UnixFS data format',

0 commit comments

Comments
 (0)