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

Commit

Permalink
fix(cli): fix the files API commands
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddias committed Aug 29, 2016
1 parent 418660f commit 138f519
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 2 additions & 3 deletions src/cli/commands/files.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@
module.exports = {
command: 'files',

description: '',
description: 'Unixfs commands',

builder (yargs) {
return yargs
.commandDir('files')
},

handler (argv) {
}
handler (argv) {}
}
4 changes: 1 addition & 3 deletions src/cli/commands/files/add.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ function checkPath (inPath, recursive) {
return inPath
}

module.exports = command

const command = {
module.exports = {
command: 'add <file>',

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

0 comments on commit 138f519

Please sign in to comment.