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

Commit

Permalink
Merge pull request #451 from ipfs/fix/cli-files
Browse files Browse the repository at this point in the history
fix(cli): fix the files API commands
  • Loading branch information
daviddias authored Aug 29, 2016
2 parents 418660f + 138f519 commit d5c4598
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 d5c4598

Please sign in to comment.