Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add import subcommand to import a customize setting from an exi…
…sting app (#56) fix #24 * Generate customize-manifest.json from the app setting #Issue-24 Introduce --import-customize-setting option. With this option (and --dest option), this tool fetch customize settings, And then generate customize-manifest.json. customize-manifest.json has a format of this tool. finally, download uploaded files and put it in dest directroy. At kintone customize partner, there are kintone application which already has been customized. kintone-customize-uploader is very good tool, but It is not usefull in contining development situation. If I tried this tool at contining developmenet situation, I must create customize-manifest.json using various APIs Or copy from browser by hand. By this option, I can introduce this tool more easily :) * Use mkdirp library (v6/v8 hasn't api for make directory recursively) * Add Test Code and fix Promise warning - Add test code about api request history - Improve promise warning * Fix for test at windows os. use rimraf * Introduce import subcommand alternative of --import-customize-settings * Use sync method on writing file or creating directory * Add TypeAnnotation for GetAppCustomizeResp * Fix async/wait problem * Add log message * Fix for windows platform test * fix wait test * Add SubCommands help * Replace ${sep} to "/" * Fix test for multiplat form path * Remove unused option * simplify array#concat * return Promise
- Loading branch information