diff --git a/src/cli/commands/files.js b/src/cli/commands/files.js index 0b63bdefb6..ea8b41e2eb 100644 --- a/src/cli/commands/files.js +++ b/src/cli/commands/files.js @@ -3,13 +3,12 @@ module.exports = { command: 'files', - description: '', + description: 'Unixfs commands', builder (yargs) { return yargs .commandDir('files') }, - handler (argv) { - } + handler (argv) {} } diff --git a/src/cli/commands/files/add.js b/src/cli/commands/files/add.js index 7350d15ad3..bb0c10fc08 100644 --- a/src/cli/commands/files/add.js +++ b/src/cli/commands/files/add.js @@ -34,9 +34,7 @@ function checkPath (inPath, recursive) { return inPath } -module.exports = command - -const command = { +module.exports = { command: 'add ', describe: 'Add a file to IPFS using the UnixFS data format',