diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index 4ef76f0d..00000000 --- a/.eslintignore +++ /dev/null @@ -1,3 +0,0 @@ -/dist -/tmp -/scripts \ No newline at end of file diff --git a/.eslintrc.json b/.eslintrc.json deleted file mode 100644 index 68461852..00000000 --- a/.eslintrc.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "@internxt/eslint-config-internxt", - "rules": { - "no-console": "off", - "max-len": "off", - "@typescript-eslint/no-empty-function": "off" - } -} diff --git a/.mocharc.json b/.mocharc.json deleted file mode 100644 index 0668ff3b..00000000 --- a/.mocharc.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "require": ["ts-node/register"], - "watch-extensions": ["ts"], - "recursive": true, - "reporter": "spec", - "timeout": 60000 -} diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index ad33c688..00000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,362 +0,0 @@ -## [0.4.17](https://github.com/oclif/hello-world/compare/0.4.16...0.4.17) (2024-02-03) - - -### Bug Fixes - -* **deps:** bump @oclif/plugin-plugins from 4.1.21 to 4.2.1 ([cc5f14f](https://github.com/oclif/hello-world/commit/cc5f14f647a9181edfaaf7954faea7dbbd867c3d)) - - - -## [0.4.16](https://github.com/oclif/hello-world/compare/0.4.15...0.4.16) (2024-01-28) - - -### Bug Fixes - -* **deps:** bump @oclif/plugin-plugins from 4.1.14 to 4.1.21 ([e486ee0](https://github.com/oclif/hello-world/commit/e486ee033e68dbaf5f3cd051802e68d783fbe22a)) - - - -## [0.4.15](https://github.com/oclif/hello-world/compare/0.4.14...0.4.15) (2024-01-27) - - -### Bug Fixes - -* **deps:** bump @oclif/plugin-help from 6.0.11 to 6.0.12 ([ad8a74c](https://github.com/oclif/hello-world/commit/ad8a74ce38c492168d45a2a8319ae8573671c842)) - - - -## [0.4.14](https://github.com/oclif/hello-world/compare/0.4.13...0.4.14) (2024-01-07) - - -### Bug Fixes - -* **deps:** bump @oclif/plugin-plugins from 4.1.12 to 4.1.14 ([0f8e410](https://github.com/oclif/hello-world/commit/0f8e4105cc862b8fd23301b4f0eae2f083ea41db)) - - - -## [0.4.13](https://github.com/oclif/hello-world/compare/0.4.12...0.4.13) (2023-12-30) - - -### Bug Fixes - -* **deps:** bump @oclif/plugin-plugins from 4.1.10 to 4.1.12 ([836fdb7](https://github.com/oclif/hello-world/commit/836fdb719bbd8898f5d38bb2c87f4ebdfd7a82d6)) - - - -## [0.4.12](https://github.com/oclif/hello-world/compare/0.4.11...0.4.12) (2023-12-30) - - -### Bug Fixes - -* **deps:** bump @oclif/core from 3.15.0 to 3.15.1 ([c760beb](https://github.com/oclif/hello-world/commit/c760bebb0086cbb53fa67341dc40258d08d36132)) - - - -## [0.4.11](https://github.com/oclif/hello-world/compare/0.4.10...0.4.11) (2023-12-23) - - -### Bug Fixes - -* **deps:** bump @oclif/core from 3.13.1 to 3.15.0 ([d1e4f6f](https://github.com/oclif/hello-world/commit/d1e4f6f7e6bd7e1de5e39aa28c01fbcd829e1f7a)) - - - -## [0.4.10](https://github.com/oclif/hello-world/compare/0.4.9...0.4.10) (2023-12-09) - - -### Bug Fixes - -* **deps:** bump @oclif/plugin-plugins from 4.1.8 to 4.1.10 ([13e3438](https://github.com/oclif/hello-world/commit/13e343855ed1ca9168b80826ec5e91cce5cc50a5)) - - - -## [0.4.9](https://github.com/oclif/hello-world/compare/0.4.8...0.4.9) (2023-11-26) - - -### Bug Fixes - -* **deps:** bump @oclif/plugin-plugins from 4.1.5 to 4.1.8 ([eb58fcf](https://github.com/oclif/hello-world/commit/eb58fcf7f6535189dc1acbec3628ed37702df7e5)) - - - -## [0.4.8](https://github.com/oclif/hello-world/compare/0.4.7...0.4.8) (2023-11-25) - - -### Bug Fixes - -* **deps:** bump @oclif/core from 3.11.0 to 3.12.0 ([80e5f57](https://github.com/oclif/hello-world/commit/80e5f5755ede98541b951125887c349cf1df3373)) - - - -## [0.4.7](https://github.com/oclif/hello-world/compare/0.4.6...0.4.7) (2023-11-18) - - -### Bug Fixes - -* **deps:** bump @oclif/core from 3.10.8 to 3.11.0 ([781bf61](https://github.com/oclif/hello-world/commit/781bf6149ceceeb54839971f93481db180542cba)) - - - -## [0.4.6](https://github.com/oclif/hello-world/compare/0.4.5...0.4.6) (2023-11-11) - - -### Bug Fixes - -* **deps:** bump @oclif/plugin-plugins from 4.0.2 to 4.1.5 ([90e69e5](https://github.com/oclif/hello-world/commit/90e69e58caab0d401869a7523dbcd1387803234d)) - - - -## [0.4.5](https://github.com/oclif/hello-world/compare/0.4.4...0.4.5) (2023-11-05) - - -### Bug Fixes - -* **deps:** bump @oclif/plugin-help from 5.2.19 to 5.2.20 ([d710325](https://github.com/oclif/hello-world/commit/d710325af125cd0acc4cb7ee732569efa29d9e6c)) - - - -## [0.4.4](https://github.com/oclif/hello-world/compare/0.4.3...0.4.4) (2023-10-28) - - -### Bug Fixes - -* **deps:** bump @oclif/plugin-plugins from 3.7.0 to 3.9.4 ([8369b56](https://github.com/oclif/hello-world/commit/8369b566d0ce50909e54b477ae5bb6c11b082f3d)) - - - -## [0.4.3](https://github.com/oclif/hello-world/compare/0.4.2...0.4.3) (2023-10-10) - - -### Bug Fixes - -* update dev.cmd too ([2ce7bdc](https://github.com/oclif/hello-world/commit/2ce7bdc2c2b262f8f16bcab62fe7c9c5dd8d3f48)) -* use node with ts-node loader ([5f406d6](https://github.com/oclif/hello-world/commit/5f406d6dd2ce06bcfe50a9c003bcfe25c63d93b4)) - - - -## [0.4.2](https://github.com/oclif/hello-world/compare/0.4.1...0.4.2) (2023-10-09) - - -### Bug Fixes - -* use latest eslint-config-oclif-typescript ([a010663](https://github.com/oclif/hello-world/commit/a010663092a2c269c56cecc96bfd4ff3bcb4a2f1)) - - - -## [0.4.1](https://github.com/oclif/hello-world/compare/0.4.0...0.4.1) (2023-10-04) - - -### Bug Fixes - -* deps ([ede92f9](https://github.com/oclif/hello-world/commit/ede92f95be182a8cd08f970781988959e02550b0)) -* satisfy linter ([896fd96](https://github.com/oclif/hello-world/commit/896fd96ab5821774751811567ab7d97d01e8bb2b)) - - - -# [0.4.0](https://github.com/oclif/hello-world/compare/0.3.0...0.4.0) (2023-10-04) - - -### Features - -* bump core, add prettier ([5be0350](https://github.com/oclif/hello-world/commit/5be0350ed4446ec1fc2eba55b73b459875f8b90b)) - - - -# [0.3.0](https://github.com/oclif/hello-world/compare/0.2.3...0.3.0) (2023-09-18) - - -### Features - -* update eslint configs ([85c1530](https://github.com/oclif/hello-world/commit/85c15307f8faefb2646050276a58c310f48cff2b)) - - - -## [0.2.3](https://github.com/oclif/hello-world/compare/0.2.2...0.2.3) (2023-09-17) - - -### Bug Fixes - -* **deps:** bump @oclif/plugin-plugins from 3.4.0 to 3.7.0 ([04939c2](https://github.com/oclif/hello-world/commit/04939c21e6db4018ab8655c1f37ae3c10d85f0d1)) - - - -## [0.2.2](https://github.com/oclif/hello-world/compare/0.2.1...0.2.2) (2023-09-16) - - -### Bug Fixes - -* **deps:** bump @oclif/core from 3.0.0-beta.12 to 3.0.0-beta.13 ([f054f82](https://github.com/oclif/hello-world/commit/f054f823c30b6080ae005a8f9fe5dd30290ad061)) - - - -## [0.2.1](https://github.com/oclif/hello-world/compare/0.2.0...0.2.1) (2023-09-09) - - -### Bug Fixes - -* **deps:** bump @oclif/plugin-help from 5.2.17 to 5.2.19 ([60d2b33](https://github.com/oclif/hello-world/commit/60d2b338401d4d9a5790416c99b7cbe6c019346f)) - - - -# [0.2.0](https://github.com/oclif/hello-world/compare/0.1.6...0.2.0) (2023-09-07) - - -### Features - -* use ts-node in bin/dev.js ([6ab5e0f](https://github.com/oclif/hello-world/commit/6ab5e0f31cb7c09c196d30bd3ecdf2f9e7462ea8)) - - - -## [0.1.6](https://github.com/oclif/hello-world/compare/0.1.5...0.1.6) (2023-09-05) - - -### Bug Fixes - -* remove ts-node loader ([370eba5](https://github.com/oclif/hello-world/commit/370eba5db778c240bf95fca27f5afac71aa48466)) - - - -## [0.1.5](https://github.com/oclif/hello-world/compare/0.1.4...0.1.5) (2023-09-05) - - -### Bug Fixes - -* update bin scripts ([9d14905](https://github.com/oclif/hello-world/commit/9d1490590a11ff79f817dd8ec8e9a548b70d9aa6)) - - - -## [0.1.4](https://github.com/oclif/hello-world/compare/0.1.3...0.1.4) (2023-09-03) - - -### Bug Fixes - -* **deps:** bump @oclif/core from 3.0.0-beta.6 to 3.0.0-beta.12 ([4a67b9f](https://github.com/oclif/hello-world/commit/4a67b9f67e287de7fca92376899b00cab25a2ada)) - - - -## [0.1.3](https://github.com/oclif/hello-world/compare/0.1.2...0.1.3) (2023-09-02) - - -### Bug Fixes - -* **deps:** bump @oclif/plugin-plugins from 3.3.2 to 3.4.0 ([d077b38](https://github.com/oclif/hello-world/commit/d077b38d54d06aefd3ffc3d78235f4a682da423b)) - - - -## [0.1.2](https://github.com/oclif/hello-world/compare/0.1.1...0.1.2) (2023-08-31) - - -### Bug Fixes - -* use core v3 ([0896ec1](https://github.com/oclif/hello-world/commit/0896ec15081020dd38f8cf9a26fd61f899182d29)) - - - -## [0.1.1](https://github.com/oclif/hello-world/compare/0.1.0...0.1.1) (2023-08-23) - - -### Bug Fixes - -* add void to bin scripts ([a3e257e](https://github.com/oclif/hello-world/commit/a3e257efa4984834d221ec356dc5269dc8c39ee9)) - - - -# [0.1.0](https://github.com/oclif/hello-world/compare/0.0.10...0.1.0) (2023-08-21) - - -### Features - -* remove ts-node/esm shebang ([c2c3aab](https://github.com/oclif/hello-world/commit/c2c3aabcea5edf646ef87874cd4c7b87ad05c5f5)) - - - -## [0.0.10](https://github.com/oclif/hello-world/compare/0.0.9...0.0.10) (2023-08-13) - - -### Bug Fixes - -* **deps:** bump @oclif/plugin-help from 5.2.15 to 5.2.17 ([08b2587](https://github.com/oclif/hello-world/commit/08b25875b07788a2969393efcbb7b1d7a1bdc1dd)) - - - -## [0.0.9](https://github.com/oclif/hello-world/compare/0.0.8...0.0.9) (2023-08-12) - - -### Bug Fixes - -* **deps:** bump @oclif/plugin-plugins from 3.1.8 to 3.2.6 ([11e89e0](https://github.com/oclif/hello-world/commit/11e89e06d3eb1e12104bd562ff79ca2eaf0e3425)) - - - -## [0.0.8](https://github.com/oclif/hello-world/compare/0.0.7...0.0.8) (2023-08-12) - - -### Bug Fixes - -* **deps:** bump @oclif/core from 2.11.7 to 2.11.8 ([ff1da5a](https://github.com/oclif/hello-world/commit/ff1da5aa66ede6dc657f2ceb0c57b3a3d71fa8ba)) - - - -## [0.0.7](https://github.com/oclif/hello-world/compare/0.0.6...0.0.7) (2023-08-10) - - -### Bug Fixes - -* update tsconfig ([0cd7321](https://github.com/oclif/hello-world/commit/0cd73218c2a0c3fc44de072331a1b77217d06cc9)) - - - -## [0.0.6](https://github.com/oclif/hello-world/compare/0.0.5...0.0.6) (2023-08-10) - - -### Bug Fixes - -* bin/dev shebang ([e1633f2](https://github.com/oclif/hello-world/commit/e1633f21c04eec833747080a3da9e10b51653840)) - - - -## [0.0.5](https://github.com/oclif/hello-world/compare/0.0.4...0.0.5) (2023-08-09) - - -### Bug Fixes - -* bin/run shebang ([abbf92a](https://github.com/oclif/hello-world/commit/abbf92ab774077ef2e3634c6c8b679932d5f6158)) - - - -## [0.0.4](https://github.com/oclif/hello-world/compare/0.0.3...0.0.4) (2023-08-06) - - -### Bug Fixes - -* **deps:** bump @oclif/plugin-help from 5.2.14 to 5.2.15 ([5a25888](https://github.com/oclif/hello-world/commit/5a258889436705c8a430188343294660b0aec8af)) - - - -## [0.0.3](https://github.com/oclif/hello-world/compare/0.0.2...0.0.3) (2023-08-03) - - -### Bug Fixes - -* add experimentalSpecifierResolution ([a57c7e0](https://github.com/oclif/hello-world/commit/a57c7e07f2cfcc6a67d598773fe3a6ab7903c4ae)) - - - -## [0.0.2](https://github.com/oclif/hello-world/compare/0.0.1...0.0.2) (2023-07-29) - - -### Bug Fixes - -* **deps:** bump @oclif/core from 2.10.0 to 2.11.1 ([2a28629](https://github.com/oclif/hello-world/commit/2a286297f0e021df4ab2c3f33686b142351c70ea)) - - - -## [0.0.1](https://github.com/oclif/hello-world/compare/27cc5bb44cc4aee53f74bfaef39c1fe03e637d72...0.0.1) (2023-07-27) - - -### Bug Fixes - -* **deps:** bump @oclif/core from 2.9.4 to 2.10.0 ([27cc5bb](https://github.com/oclif/hello-world/commit/27cc5bb44cc4aee53f74bfaef39c1fe03e637d72)) - - - diff --git a/README.md b/README.md index 2c23bac5..10d2352b 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,8 @@ USAGE * [`internxt add-cert`](#internxt-add-cert) * [`internxt config`](#internxt-config) * [`internxt create-folder`](#internxt-create-folder) -* [`internxt download`](#internxt-download) +* [`internxt download-file`](#internxt-download-file) +* [`internxt download file`](#internxt-download-file) * [`internxt list`](#internxt-list) * [`internxt login`](#internxt-login) * [`internxt logout`](#internxt-logout) @@ -54,19 +55,26 @@ USAGE * [`internxt move-folder`](#internxt-move-folder) * [`internxt move file`](#internxt-move-file) * [`internxt move folder`](#internxt-move-folder) -* [`internxt rename`](#internxt-rename) -* [`internxt trash`](#internxt-trash) +* [`internxt rename-file`](#internxt-rename-file) +* [`internxt rename-folder`](#internxt-rename-folder) +* [`internxt rename file`](#internxt-rename-file) +* [`internxt rename folder`](#internxt-rename-folder) * [`internxt trash-clear`](#internxt-trash-clear) +* [`internxt trash-file`](#internxt-trash-file) +* [`internxt trash-folder`](#internxt-trash-folder) * [`internxt trash-list`](#internxt-trash-list) * [`internxt trash-restore-file`](#internxt-trash-restore-file) * [`internxt trash-restore-folder`](#internxt-trash-restore-folder) * [`internxt trash clear`](#internxt-trash-clear) +* [`internxt trash file`](#internxt-trash-file) +* [`internxt trash folder`](#internxt-trash-folder) * [`internxt trash list`](#internxt-trash-list) * [`internxt trash restore file`](#internxt-trash-restore-file) * [`internxt trash restore folder`](#internxt-trash-restore-folder) -* [`internxt upload`](#internxt-upload) +* [`internxt upload-file`](#internxt-upload-file) +* [`internxt upload file`](#internxt-upload-file) * [`internxt webdav ACTION`](#internxt-webdav-action) -* [`internxt webdav-config ACTION`](#internxt-webdav-config-action) +* [`internxt webdav-config`](#internxt-webdav-config) * [`internxt whoami`](#internxt-whoami) ## `internxt add-cert` @@ -75,7 +83,10 @@ Add a self-signed certificate to the trusted store for macOS, Linux, and Windows ``` USAGE - $ internxt add-cert + $ internxt add-cert [--json] + +GLOBAL FLAGS + --json Format output as json. DESCRIPTION Add a self-signed certificate to the trusted store for macOS, Linux, and Windows. @@ -92,19 +103,10 @@ Display useful information from the user logged into the Internxt CLI. ``` USAGE - $ internxt config [--columns | -x] [--filter ] [--no-header | [--csv | --no-truncate]] - [--output csv|json|yaml | | ] [--sort ] + $ internxt config [--json] -FLAGS - -x, --extended show extra columns - --columns= only show provided columns (comma-separated) - --csv output is csv format [alias: --output=csv] - --filter= filter property by partial string matching, ex: name=foo - --no-header hide table header from output - --no-truncate do not truncate output to fit screen - --output=