 program
     .command('build-tree <devicename>')
     .description('Create empty files and directories in the filesystem')
-    .option('-f, --filepath [filepath]', 'specify file to build FS tree')
-    .action buildFSTree
+    .option('-f, --filePath [filePath]', 'specify file to build FS tree')
+    .action buildFsTree
 
 program
     .command('fetch-binaries <devicename> ')
     .description('Replicate DB binaries')
-    .option('-f, --filepath [filepath]', 'specify file to fetch associated binary')
+    .option('-f, --filePath [filePath]', 'specify file to fetch associated binary')
     .action fetchBinaries
 
 program
-    .command('add-file <devicename> <filePath>')
+    .command('put-file <devicename> <filePath>')
     .description('Add file descriptor to PouchDB')
-    .action addFile
+    .action putFile
+
+program
+    .command('put-dir <devicename> <dirPath>')
+    .description('Add folder descriptor to PouchDB')
+    .option('-r, --recursive', 'add every file/folder inside')
+    .action putDirectory
 
 program
     .command('sync <devicename>')

                options =
                    url: url
                    deviceName: devicename
                    path: path.resolve syncpath
                    deviceId: credentials.id
                    devicePassword: credentials.password
                config.addRemoteCozy options



program
    .command('add-remote-cozy <url> <devicename> <syncPath>')
    .description('Configure current device to sync with given cozy')
    .action addRemote

