From 980429f4bdcb178d8d92d8202cbdacfaa45c917e Mon Sep 17 00:00:00 2001 From: Hinton Date: Wed, 25 May 2022 10:56:29 +0200 Subject: [PATCH] Move CLI to apps/cli --- .gitmodules | 4 ++-- .editorconfig => apps/cli/.editorconfig | 0 .eslintignore => apps/cli/.eslintignore | 0 .eslintrc.json => apps/cli/.eslintrc.json | 0 .git-blame-ignore-revs => apps/cli/.git-blame-ignore-revs | 0 .gitattributes => apps/cli/.gitattributes | 0 {.github => apps/cli/.github}/PULL_REQUEST_TEMPLATE.md | 0 {.github => apps/cli/.github}/workflows/build.yml | 0 {.github => apps/cli/.github}/workflows/enforce-labels.yml | 0 {.github => apps/cli/.github}/workflows/release.yml | 0 {.github => apps/cli/.github}/workflows/version-bump.yml | 0 {.github => apps/cli/.github}/workflows/workflow-linter.yml | 0 .gitignore => apps/cli/.gitignore | 0 {.husky => apps/cli/.husky}/.gitignore | 0 {.husky => apps/cli/.husky}/pre-commit | 0 .npmignore => apps/cli/.npmignore | 0 .prettierignore => apps/cli/.prettierignore | 0 .prettierrc.json => apps/cli/.prettierrc.json | 0 {.vscode => apps/cli/.vscode}/launch.json | 0 {.vscode => apps/cli/.vscode}/settings.json | 0 CONTRIBUTING.md => apps/cli/CONTRIBUTING.md | 0 ISSUE_TEMPLATE.md => apps/cli/ISSUE_TEMPLATE.md | 0 LICENSE.txt => apps/cli/LICENSE.txt | 0 README.md => apps/cli/README.md | 0 SECURITY.md => apps/cli/SECURITY.md | 0 {config => apps/cli/config}/config.js | 0 {config => apps/cli/config}/development.json | 0 {config => apps/cli/config}/production.json | 0 {examples => apps/cli/examples}/git-credential-bw.sh | 0 jslib => apps/cli/jslib | 0 package-lock.json => apps/cli/package-lock.json | 0 package.json => apps/cli/package.json | 0 {scripts => apps/cli/scripts}/brew-update.ps1 | 0 {scripts => apps/cli/scripts}/choco-pack.ps1 | 0 {scripts => apps/cli/scripts}/choco-update.ps1 | 0 {scripts => apps/cli/scripts}/snap-build.ps1 | 0 {scripts => apps/cli/scripts}/snap-update.ps1 | 0 {spec => apps/cli/spec}/bw.spec.ts | 0 {spec => apps/cli/spec}/helpers.ts | 0 {spec => apps/cli/spec}/support/jasmine.json | 0 {spec => apps/cli/spec}/tsconfig.json | 0 {spec => apps/cli/spec}/utils.spec.ts | 0 {src => apps/cli/src}/bw.ts | 0 {src => apps/cli/src}/commands/completion.command.ts | 0 {src => apps/cli/src}/commands/config.command.ts | 0 {src => apps/cli/src}/commands/confirm.command.ts | 0 .../cli/src}/commands/convertToKeyConnector.command.ts | 0 {src => apps/cli/src}/commands/create.command.ts | 0 {src => apps/cli/src}/commands/delete.command.ts | 0 {src => apps/cli/src}/commands/download.command.ts | 0 {src => apps/cli/src}/commands/edit.command.ts | 0 {src => apps/cli/src}/commands/encode.command.ts | 0 {src => apps/cli/src}/commands/export.command.ts | 0 {src => apps/cli/src}/commands/generate.command.ts | 0 {src => apps/cli/src}/commands/get.command.ts | 0 {src => apps/cli/src}/commands/import.command.ts | 0 {src => apps/cli/src}/commands/list.command.ts | 0 {src => apps/cli/src}/commands/lock.command.ts | 0 {src => apps/cli/src}/commands/login.command.ts | 0 {src => apps/cli/src}/commands/restore.command.ts | 0 {src => apps/cli/src}/commands/send/create.command.ts | 0 {src => apps/cli/src}/commands/send/delete.command.ts | 0 {src => apps/cli/src}/commands/send/edit.command.ts | 0 {src => apps/cli/src}/commands/send/get.command.ts | 0 {src => apps/cli/src}/commands/send/list.command.ts | 0 {src => apps/cli/src}/commands/send/receive.command.ts | 0 {src => apps/cli/src}/commands/send/removePassword.command.ts | 0 {src => apps/cli/src}/commands/serve.command.ts | 0 {src => apps/cli/src}/commands/share.command.ts | 0 {src => apps/cli/src}/commands/status.command.ts | 0 {src => apps/cli/src}/commands/sync.command.ts | 0 {src => apps/cli/src}/commands/unlock.command.ts | 0 {src => apps/cli/src}/flags.ts | 0 {src => apps/cli/src}/locales/en/messages.json | 0 .../cli/src}/models/request/organizationCollectionRequest.ts | 0 {src => apps/cli/src}/models/response/attachmentResponse.ts | 0 {src => apps/cli/src}/models/response/cipherResponse.ts | 0 {src => apps/cli/src}/models/response/collectionResponse.ts | 0 {src => apps/cli/src}/models/response/folderResponse.ts | 0 {src => apps/cli/src}/models/response/loginResponse.ts | 0 .../src}/models/response/organizationCollectionResponse.ts | 0 {src => apps/cli/src}/models/response/organizationResponse.ts | 0 .../cli/src}/models/response/organizationUserResponse.ts | 0 .../cli/src}/models/response/passwordHistoryResponse.ts | 0 {src => apps/cli/src}/models/response/sendAccessResponse.ts | 0 {src => apps/cli/src}/models/response/sendFileResponse.ts | 0 {src => apps/cli/src}/models/response/sendResponse.ts | 0 {src => apps/cli/src}/models/response/sendTextResponse.ts | 0 {src => apps/cli/src}/models/response/templateResponse.ts | 0 {src => apps/cli/src}/models/selectionReadOnly.ts | 0 {src => apps/cli/src}/program.ts | 0 {src => apps/cli/src}/send.program.ts | 0 {src => apps/cli/src}/services/i18n.service.ts | 0 {src => apps/cli/src}/services/lowdbStorage.service.ts | 0 .../cli/src}/services/nodeEnvSecureStorage.service.ts | 0 {src => apps/cli/src}/utils.ts | 0 {src => apps/cli/src}/vault.program.ts | 0 {stores => apps/cli/stores}/chocolatey/bitwarden-cli.nuspec | 0 {stores => apps/cli/stores}/chocolatey/tools/VERIFICATION.txt | 0 {stores => apps/cli/stores}/snap/snapcraft.yaml | 0 tsconfig.json => apps/cli/tsconfig.json | 0 tslint.json => apps/cli/tslint.json | 0 webpack.config.js => apps/cli/webpack.config.js | 0 103 files changed, 2 insertions(+), 2 deletions(-) rename .editorconfig => apps/cli/.editorconfig (100%) rename .eslintignore => apps/cli/.eslintignore (100%) rename .eslintrc.json => apps/cli/.eslintrc.json (100%) rename .git-blame-ignore-revs => apps/cli/.git-blame-ignore-revs (100%) rename .gitattributes => apps/cli/.gitattributes (100%) rename {.github => apps/cli/.github}/PULL_REQUEST_TEMPLATE.md (100%) rename {.github => apps/cli/.github}/workflows/build.yml (100%) rename {.github => apps/cli/.github}/workflows/enforce-labels.yml (100%) rename {.github => apps/cli/.github}/workflows/release.yml (100%) rename {.github => apps/cli/.github}/workflows/version-bump.yml (100%) rename {.github => apps/cli/.github}/workflows/workflow-linter.yml (100%) rename .gitignore => apps/cli/.gitignore (100%) rename {.husky => apps/cli/.husky}/.gitignore (100%) rename {.husky => apps/cli/.husky}/pre-commit (100%) mode change 100755 => 100644 rename .npmignore => apps/cli/.npmignore (100%) rename .prettierignore => apps/cli/.prettierignore (100%) rename .prettierrc.json => apps/cli/.prettierrc.json (100%) rename {.vscode => apps/cli/.vscode}/launch.json (100%) rename {.vscode => apps/cli/.vscode}/settings.json (100%) rename CONTRIBUTING.md => apps/cli/CONTRIBUTING.md (100%) rename ISSUE_TEMPLATE.md => apps/cli/ISSUE_TEMPLATE.md (100%) rename LICENSE.txt => apps/cli/LICENSE.txt (100%) rename README.md => apps/cli/README.md (100%) rename SECURITY.md => apps/cli/SECURITY.md (100%) rename {config => apps/cli/config}/config.js (100%) rename {config => apps/cli/config}/development.json (100%) rename {config => apps/cli/config}/production.json (100%) rename {examples => apps/cli/examples}/git-credential-bw.sh (100%) mode change 100755 => 100644 rename jslib => apps/cli/jslib (100%) rename package-lock.json => apps/cli/package-lock.json (100%) rename package.json => apps/cli/package.json (100%) rename {scripts => apps/cli/scripts}/brew-update.ps1 (100%) rename {scripts => apps/cli/scripts}/choco-pack.ps1 (100%) rename {scripts => apps/cli/scripts}/choco-update.ps1 (100%) rename {scripts => apps/cli/scripts}/snap-build.ps1 (100%) rename {scripts => apps/cli/scripts}/snap-update.ps1 (100%) rename {spec => apps/cli/spec}/bw.spec.ts (100%) rename {spec => apps/cli/spec}/helpers.ts (100%) rename {spec => apps/cli/spec}/support/jasmine.json (100%) rename {spec => apps/cli/spec}/tsconfig.json (100%) rename {spec => apps/cli/spec}/utils.spec.ts (100%) rename {src => apps/cli/src}/bw.ts (100%) rename {src => apps/cli/src}/commands/completion.command.ts (100%) rename {src => apps/cli/src}/commands/config.command.ts (100%) rename {src => apps/cli/src}/commands/confirm.command.ts (100%) rename {src => apps/cli/src}/commands/convertToKeyConnector.command.ts (100%) rename {src => apps/cli/src}/commands/create.command.ts (100%) rename {src => apps/cli/src}/commands/delete.command.ts (100%) rename {src => apps/cli/src}/commands/download.command.ts (100%) rename {src => apps/cli/src}/commands/edit.command.ts (100%) rename {src => apps/cli/src}/commands/encode.command.ts (100%) rename {src => apps/cli/src}/commands/export.command.ts (100%) rename {src => apps/cli/src}/commands/generate.command.ts (100%) rename {src => apps/cli/src}/commands/get.command.ts (100%) rename {src => apps/cli/src}/commands/import.command.ts (100%) rename {src => apps/cli/src}/commands/list.command.ts (100%) rename {src => apps/cli/src}/commands/lock.command.ts (100%) rename {src => apps/cli/src}/commands/login.command.ts (100%) rename {src => apps/cli/src}/commands/restore.command.ts (100%) rename {src => apps/cli/src}/commands/send/create.command.ts (100%) rename {src => apps/cli/src}/commands/send/delete.command.ts (100%) rename {src => apps/cli/src}/commands/send/edit.command.ts (100%) rename {src => apps/cli/src}/commands/send/get.command.ts (100%) rename {src => apps/cli/src}/commands/send/list.command.ts (100%) rename {src => apps/cli/src}/commands/send/receive.command.ts (100%) rename {src => apps/cli/src}/commands/send/removePassword.command.ts (100%) rename {src => apps/cli/src}/commands/serve.command.ts (100%) rename {src => apps/cli/src}/commands/share.command.ts (100%) rename {src => apps/cli/src}/commands/status.command.ts (100%) rename {src => apps/cli/src}/commands/sync.command.ts (100%) rename {src => apps/cli/src}/commands/unlock.command.ts (100%) rename {src => apps/cli/src}/flags.ts (100%) rename {src => apps/cli/src}/locales/en/messages.json (100%) rename {src => apps/cli/src}/models/request/organizationCollectionRequest.ts (100%) rename {src => apps/cli/src}/models/response/attachmentResponse.ts (100%) rename {src => apps/cli/src}/models/response/cipherResponse.ts (100%) rename {src => apps/cli/src}/models/response/collectionResponse.ts (100%) rename {src => apps/cli/src}/models/response/folderResponse.ts (100%) rename {src => apps/cli/src}/models/response/loginResponse.ts (100%) rename {src => apps/cli/src}/models/response/organizationCollectionResponse.ts (100%) rename {src => apps/cli/src}/models/response/organizationResponse.ts (100%) rename {src => apps/cli/src}/models/response/organizationUserResponse.ts (100%) rename {src => apps/cli/src}/models/response/passwordHistoryResponse.ts (100%) rename {src => apps/cli/src}/models/response/sendAccessResponse.ts (100%) rename {src => apps/cli/src}/models/response/sendFileResponse.ts (100%) rename {src => apps/cli/src}/models/response/sendResponse.ts (100%) rename {src => apps/cli/src}/models/response/sendTextResponse.ts (100%) rename {src => apps/cli/src}/models/response/templateResponse.ts (100%) rename {src => apps/cli/src}/models/selectionReadOnly.ts (100%) rename {src => apps/cli/src}/program.ts (100%) rename {src => apps/cli/src}/send.program.ts (100%) rename {src => apps/cli/src}/services/i18n.service.ts (100%) rename {src => apps/cli/src}/services/lowdbStorage.service.ts (100%) rename {src => apps/cli/src}/services/nodeEnvSecureStorage.service.ts (100%) rename {src => apps/cli/src}/utils.ts (100%) rename {src => apps/cli/src}/vault.program.ts (100%) rename {stores => apps/cli/stores}/chocolatey/bitwarden-cli.nuspec (100%) rename {stores => apps/cli/stores}/chocolatey/tools/VERIFICATION.txt (100%) rename {stores => apps/cli/stores}/snap/snapcraft.yaml (100%) rename tsconfig.json => apps/cli/tsconfig.json (100%) rename tslint.json => apps/cli/tslint.json (100%) rename webpack.config.js => apps/cli/webpack.config.js (100%) diff --git a/.gitmodules b/.gitmodules index 31ee66bdef..35fff05b0c 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,4 +1,4 @@ -[submodule "jslib"] - path = jslib +[submodule "apps/cli/jslib"] + path = apps/cli/jslib url = https://github.com/bitwarden/jslib.git branch = master diff --git a/.editorconfig b/apps/cli/.editorconfig similarity index 100% rename from .editorconfig rename to apps/cli/.editorconfig diff --git a/.eslintignore b/apps/cli/.eslintignore similarity index 100% rename from .eslintignore rename to apps/cli/.eslintignore diff --git a/.eslintrc.json b/apps/cli/.eslintrc.json similarity index 100% rename from .eslintrc.json rename to apps/cli/.eslintrc.json diff --git a/.git-blame-ignore-revs b/apps/cli/.git-blame-ignore-revs similarity index 100% rename from .git-blame-ignore-revs rename to apps/cli/.git-blame-ignore-revs diff --git a/.gitattributes b/apps/cli/.gitattributes similarity index 100% rename from .gitattributes rename to apps/cli/.gitattributes diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/apps/cli/.github/PULL_REQUEST_TEMPLATE.md similarity index 100% rename from .github/PULL_REQUEST_TEMPLATE.md rename to apps/cli/.github/PULL_REQUEST_TEMPLATE.md diff --git a/.github/workflows/build.yml b/apps/cli/.github/workflows/build.yml similarity index 100% rename from .github/workflows/build.yml rename to apps/cli/.github/workflows/build.yml diff --git a/.github/workflows/enforce-labels.yml b/apps/cli/.github/workflows/enforce-labels.yml similarity index 100% rename from .github/workflows/enforce-labels.yml rename to apps/cli/.github/workflows/enforce-labels.yml diff --git a/.github/workflows/release.yml b/apps/cli/.github/workflows/release.yml similarity index 100% rename from .github/workflows/release.yml rename to apps/cli/.github/workflows/release.yml diff --git a/.github/workflows/version-bump.yml b/apps/cli/.github/workflows/version-bump.yml similarity index 100% rename from .github/workflows/version-bump.yml rename to apps/cli/.github/workflows/version-bump.yml diff --git a/.github/workflows/workflow-linter.yml b/apps/cli/.github/workflows/workflow-linter.yml similarity index 100% rename from .github/workflows/workflow-linter.yml rename to apps/cli/.github/workflows/workflow-linter.yml diff --git a/.gitignore b/apps/cli/.gitignore similarity index 100% rename from .gitignore rename to apps/cli/.gitignore diff --git a/.husky/.gitignore b/apps/cli/.husky/.gitignore similarity index 100% rename from .husky/.gitignore rename to apps/cli/.husky/.gitignore diff --git a/.husky/pre-commit b/apps/cli/.husky/pre-commit old mode 100755 new mode 100644 similarity index 100% rename from .husky/pre-commit rename to apps/cli/.husky/pre-commit diff --git a/.npmignore b/apps/cli/.npmignore similarity index 100% rename from .npmignore rename to apps/cli/.npmignore diff --git a/.prettierignore b/apps/cli/.prettierignore similarity index 100% rename from .prettierignore rename to apps/cli/.prettierignore diff --git a/.prettierrc.json b/apps/cli/.prettierrc.json similarity index 100% rename from .prettierrc.json rename to apps/cli/.prettierrc.json diff --git a/.vscode/launch.json b/apps/cli/.vscode/launch.json similarity index 100% rename from .vscode/launch.json rename to apps/cli/.vscode/launch.json diff --git a/.vscode/settings.json b/apps/cli/.vscode/settings.json similarity index 100% rename from .vscode/settings.json rename to apps/cli/.vscode/settings.json diff --git a/CONTRIBUTING.md b/apps/cli/CONTRIBUTING.md similarity index 100% rename from CONTRIBUTING.md rename to apps/cli/CONTRIBUTING.md diff --git a/ISSUE_TEMPLATE.md b/apps/cli/ISSUE_TEMPLATE.md similarity index 100% rename from ISSUE_TEMPLATE.md rename to apps/cli/ISSUE_TEMPLATE.md diff --git a/LICENSE.txt b/apps/cli/LICENSE.txt similarity index 100% rename from LICENSE.txt rename to apps/cli/LICENSE.txt diff --git a/README.md b/apps/cli/README.md similarity index 100% rename from README.md rename to apps/cli/README.md diff --git a/SECURITY.md b/apps/cli/SECURITY.md similarity index 100% rename from SECURITY.md rename to apps/cli/SECURITY.md diff --git a/config/config.js b/apps/cli/config/config.js similarity index 100% rename from config/config.js rename to apps/cli/config/config.js diff --git a/config/development.json b/apps/cli/config/development.json similarity index 100% rename from config/development.json rename to apps/cli/config/development.json diff --git a/config/production.json b/apps/cli/config/production.json similarity index 100% rename from config/production.json rename to apps/cli/config/production.json diff --git a/examples/git-credential-bw.sh b/apps/cli/examples/git-credential-bw.sh old mode 100755 new mode 100644 similarity index 100% rename from examples/git-credential-bw.sh rename to apps/cli/examples/git-credential-bw.sh diff --git a/jslib b/apps/cli/jslib similarity index 100% rename from jslib rename to apps/cli/jslib diff --git a/package-lock.json b/apps/cli/package-lock.json similarity index 100% rename from package-lock.json rename to apps/cli/package-lock.json diff --git a/package.json b/apps/cli/package.json similarity index 100% rename from package.json rename to apps/cli/package.json diff --git a/scripts/brew-update.ps1 b/apps/cli/scripts/brew-update.ps1 similarity index 100% rename from scripts/brew-update.ps1 rename to apps/cli/scripts/brew-update.ps1 diff --git a/scripts/choco-pack.ps1 b/apps/cli/scripts/choco-pack.ps1 similarity index 100% rename from scripts/choco-pack.ps1 rename to apps/cli/scripts/choco-pack.ps1 diff --git a/scripts/choco-update.ps1 b/apps/cli/scripts/choco-update.ps1 similarity index 100% rename from scripts/choco-update.ps1 rename to apps/cli/scripts/choco-update.ps1 diff --git a/scripts/snap-build.ps1 b/apps/cli/scripts/snap-build.ps1 similarity index 100% rename from scripts/snap-build.ps1 rename to apps/cli/scripts/snap-build.ps1 diff --git a/scripts/snap-update.ps1 b/apps/cli/scripts/snap-update.ps1 similarity index 100% rename from scripts/snap-update.ps1 rename to apps/cli/scripts/snap-update.ps1 diff --git a/spec/bw.spec.ts b/apps/cli/spec/bw.spec.ts similarity index 100% rename from spec/bw.spec.ts rename to apps/cli/spec/bw.spec.ts diff --git a/spec/helpers.ts b/apps/cli/spec/helpers.ts similarity index 100% rename from spec/helpers.ts rename to apps/cli/spec/helpers.ts diff --git a/spec/support/jasmine.json b/apps/cli/spec/support/jasmine.json similarity index 100% rename from spec/support/jasmine.json rename to apps/cli/spec/support/jasmine.json diff --git a/spec/tsconfig.json b/apps/cli/spec/tsconfig.json similarity index 100% rename from spec/tsconfig.json rename to apps/cli/spec/tsconfig.json diff --git a/spec/utils.spec.ts b/apps/cli/spec/utils.spec.ts similarity index 100% rename from spec/utils.spec.ts rename to apps/cli/spec/utils.spec.ts diff --git a/src/bw.ts b/apps/cli/src/bw.ts similarity index 100% rename from src/bw.ts rename to apps/cli/src/bw.ts diff --git a/src/commands/completion.command.ts b/apps/cli/src/commands/completion.command.ts similarity index 100% rename from src/commands/completion.command.ts rename to apps/cli/src/commands/completion.command.ts diff --git a/src/commands/config.command.ts b/apps/cli/src/commands/config.command.ts similarity index 100% rename from src/commands/config.command.ts rename to apps/cli/src/commands/config.command.ts diff --git a/src/commands/confirm.command.ts b/apps/cli/src/commands/confirm.command.ts similarity index 100% rename from src/commands/confirm.command.ts rename to apps/cli/src/commands/confirm.command.ts diff --git a/src/commands/convertToKeyConnector.command.ts b/apps/cli/src/commands/convertToKeyConnector.command.ts similarity index 100% rename from src/commands/convertToKeyConnector.command.ts rename to apps/cli/src/commands/convertToKeyConnector.command.ts diff --git a/src/commands/create.command.ts b/apps/cli/src/commands/create.command.ts similarity index 100% rename from src/commands/create.command.ts rename to apps/cli/src/commands/create.command.ts diff --git a/src/commands/delete.command.ts b/apps/cli/src/commands/delete.command.ts similarity index 100% rename from src/commands/delete.command.ts rename to apps/cli/src/commands/delete.command.ts diff --git a/src/commands/download.command.ts b/apps/cli/src/commands/download.command.ts similarity index 100% rename from src/commands/download.command.ts rename to apps/cli/src/commands/download.command.ts diff --git a/src/commands/edit.command.ts b/apps/cli/src/commands/edit.command.ts similarity index 100% rename from src/commands/edit.command.ts rename to apps/cli/src/commands/edit.command.ts diff --git a/src/commands/encode.command.ts b/apps/cli/src/commands/encode.command.ts similarity index 100% rename from src/commands/encode.command.ts rename to apps/cli/src/commands/encode.command.ts diff --git a/src/commands/export.command.ts b/apps/cli/src/commands/export.command.ts similarity index 100% rename from src/commands/export.command.ts rename to apps/cli/src/commands/export.command.ts diff --git a/src/commands/generate.command.ts b/apps/cli/src/commands/generate.command.ts similarity index 100% rename from src/commands/generate.command.ts rename to apps/cli/src/commands/generate.command.ts diff --git a/src/commands/get.command.ts b/apps/cli/src/commands/get.command.ts similarity index 100% rename from src/commands/get.command.ts rename to apps/cli/src/commands/get.command.ts diff --git a/src/commands/import.command.ts b/apps/cli/src/commands/import.command.ts similarity index 100% rename from src/commands/import.command.ts rename to apps/cli/src/commands/import.command.ts diff --git a/src/commands/list.command.ts b/apps/cli/src/commands/list.command.ts similarity index 100% rename from src/commands/list.command.ts rename to apps/cli/src/commands/list.command.ts diff --git a/src/commands/lock.command.ts b/apps/cli/src/commands/lock.command.ts similarity index 100% rename from src/commands/lock.command.ts rename to apps/cli/src/commands/lock.command.ts diff --git a/src/commands/login.command.ts b/apps/cli/src/commands/login.command.ts similarity index 100% rename from src/commands/login.command.ts rename to apps/cli/src/commands/login.command.ts diff --git a/src/commands/restore.command.ts b/apps/cli/src/commands/restore.command.ts similarity index 100% rename from src/commands/restore.command.ts rename to apps/cli/src/commands/restore.command.ts diff --git a/src/commands/send/create.command.ts b/apps/cli/src/commands/send/create.command.ts similarity index 100% rename from src/commands/send/create.command.ts rename to apps/cli/src/commands/send/create.command.ts diff --git a/src/commands/send/delete.command.ts b/apps/cli/src/commands/send/delete.command.ts similarity index 100% rename from src/commands/send/delete.command.ts rename to apps/cli/src/commands/send/delete.command.ts diff --git a/src/commands/send/edit.command.ts b/apps/cli/src/commands/send/edit.command.ts similarity index 100% rename from src/commands/send/edit.command.ts rename to apps/cli/src/commands/send/edit.command.ts diff --git a/src/commands/send/get.command.ts b/apps/cli/src/commands/send/get.command.ts similarity index 100% rename from src/commands/send/get.command.ts rename to apps/cli/src/commands/send/get.command.ts diff --git a/src/commands/send/list.command.ts b/apps/cli/src/commands/send/list.command.ts similarity index 100% rename from src/commands/send/list.command.ts rename to apps/cli/src/commands/send/list.command.ts diff --git a/src/commands/send/receive.command.ts b/apps/cli/src/commands/send/receive.command.ts similarity index 100% rename from src/commands/send/receive.command.ts rename to apps/cli/src/commands/send/receive.command.ts diff --git a/src/commands/send/removePassword.command.ts b/apps/cli/src/commands/send/removePassword.command.ts similarity index 100% rename from src/commands/send/removePassword.command.ts rename to apps/cli/src/commands/send/removePassword.command.ts diff --git a/src/commands/serve.command.ts b/apps/cli/src/commands/serve.command.ts similarity index 100% rename from src/commands/serve.command.ts rename to apps/cli/src/commands/serve.command.ts diff --git a/src/commands/share.command.ts b/apps/cli/src/commands/share.command.ts similarity index 100% rename from src/commands/share.command.ts rename to apps/cli/src/commands/share.command.ts diff --git a/src/commands/status.command.ts b/apps/cli/src/commands/status.command.ts similarity index 100% rename from src/commands/status.command.ts rename to apps/cli/src/commands/status.command.ts diff --git a/src/commands/sync.command.ts b/apps/cli/src/commands/sync.command.ts similarity index 100% rename from src/commands/sync.command.ts rename to apps/cli/src/commands/sync.command.ts diff --git a/src/commands/unlock.command.ts b/apps/cli/src/commands/unlock.command.ts similarity index 100% rename from src/commands/unlock.command.ts rename to apps/cli/src/commands/unlock.command.ts diff --git a/src/flags.ts b/apps/cli/src/flags.ts similarity index 100% rename from src/flags.ts rename to apps/cli/src/flags.ts diff --git a/src/locales/en/messages.json b/apps/cli/src/locales/en/messages.json similarity index 100% rename from src/locales/en/messages.json rename to apps/cli/src/locales/en/messages.json diff --git a/src/models/request/organizationCollectionRequest.ts b/apps/cli/src/models/request/organizationCollectionRequest.ts similarity index 100% rename from src/models/request/organizationCollectionRequest.ts rename to apps/cli/src/models/request/organizationCollectionRequest.ts diff --git a/src/models/response/attachmentResponse.ts b/apps/cli/src/models/response/attachmentResponse.ts similarity index 100% rename from src/models/response/attachmentResponse.ts rename to apps/cli/src/models/response/attachmentResponse.ts diff --git a/src/models/response/cipherResponse.ts b/apps/cli/src/models/response/cipherResponse.ts similarity index 100% rename from src/models/response/cipherResponse.ts rename to apps/cli/src/models/response/cipherResponse.ts diff --git a/src/models/response/collectionResponse.ts b/apps/cli/src/models/response/collectionResponse.ts similarity index 100% rename from src/models/response/collectionResponse.ts rename to apps/cli/src/models/response/collectionResponse.ts diff --git a/src/models/response/folderResponse.ts b/apps/cli/src/models/response/folderResponse.ts similarity index 100% rename from src/models/response/folderResponse.ts rename to apps/cli/src/models/response/folderResponse.ts diff --git a/src/models/response/loginResponse.ts b/apps/cli/src/models/response/loginResponse.ts similarity index 100% rename from src/models/response/loginResponse.ts rename to apps/cli/src/models/response/loginResponse.ts diff --git a/src/models/response/organizationCollectionResponse.ts b/apps/cli/src/models/response/organizationCollectionResponse.ts similarity index 100% rename from src/models/response/organizationCollectionResponse.ts rename to apps/cli/src/models/response/organizationCollectionResponse.ts diff --git a/src/models/response/organizationResponse.ts b/apps/cli/src/models/response/organizationResponse.ts similarity index 100% rename from src/models/response/organizationResponse.ts rename to apps/cli/src/models/response/organizationResponse.ts diff --git a/src/models/response/organizationUserResponse.ts b/apps/cli/src/models/response/organizationUserResponse.ts similarity index 100% rename from src/models/response/organizationUserResponse.ts rename to apps/cli/src/models/response/organizationUserResponse.ts diff --git a/src/models/response/passwordHistoryResponse.ts b/apps/cli/src/models/response/passwordHistoryResponse.ts similarity index 100% rename from src/models/response/passwordHistoryResponse.ts rename to apps/cli/src/models/response/passwordHistoryResponse.ts diff --git a/src/models/response/sendAccessResponse.ts b/apps/cli/src/models/response/sendAccessResponse.ts similarity index 100% rename from src/models/response/sendAccessResponse.ts rename to apps/cli/src/models/response/sendAccessResponse.ts diff --git a/src/models/response/sendFileResponse.ts b/apps/cli/src/models/response/sendFileResponse.ts similarity index 100% rename from src/models/response/sendFileResponse.ts rename to apps/cli/src/models/response/sendFileResponse.ts diff --git a/src/models/response/sendResponse.ts b/apps/cli/src/models/response/sendResponse.ts similarity index 100% rename from src/models/response/sendResponse.ts rename to apps/cli/src/models/response/sendResponse.ts diff --git a/src/models/response/sendTextResponse.ts b/apps/cli/src/models/response/sendTextResponse.ts similarity index 100% rename from src/models/response/sendTextResponse.ts rename to apps/cli/src/models/response/sendTextResponse.ts diff --git a/src/models/response/templateResponse.ts b/apps/cli/src/models/response/templateResponse.ts similarity index 100% rename from src/models/response/templateResponse.ts rename to apps/cli/src/models/response/templateResponse.ts diff --git a/src/models/selectionReadOnly.ts b/apps/cli/src/models/selectionReadOnly.ts similarity index 100% rename from src/models/selectionReadOnly.ts rename to apps/cli/src/models/selectionReadOnly.ts diff --git a/src/program.ts b/apps/cli/src/program.ts similarity index 100% rename from src/program.ts rename to apps/cli/src/program.ts diff --git a/src/send.program.ts b/apps/cli/src/send.program.ts similarity index 100% rename from src/send.program.ts rename to apps/cli/src/send.program.ts diff --git a/src/services/i18n.service.ts b/apps/cli/src/services/i18n.service.ts similarity index 100% rename from src/services/i18n.service.ts rename to apps/cli/src/services/i18n.service.ts diff --git a/src/services/lowdbStorage.service.ts b/apps/cli/src/services/lowdbStorage.service.ts similarity index 100% rename from src/services/lowdbStorage.service.ts rename to apps/cli/src/services/lowdbStorage.service.ts diff --git a/src/services/nodeEnvSecureStorage.service.ts b/apps/cli/src/services/nodeEnvSecureStorage.service.ts similarity index 100% rename from src/services/nodeEnvSecureStorage.service.ts rename to apps/cli/src/services/nodeEnvSecureStorage.service.ts diff --git a/src/utils.ts b/apps/cli/src/utils.ts similarity index 100% rename from src/utils.ts rename to apps/cli/src/utils.ts diff --git a/src/vault.program.ts b/apps/cli/src/vault.program.ts similarity index 100% rename from src/vault.program.ts rename to apps/cli/src/vault.program.ts diff --git a/stores/chocolatey/bitwarden-cli.nuspec b/apps/cli/stores/chocolatey/bitwarden-cli.nuspec similarity index 100% rename from stores/chocolatey/bitwarden-cli.nuspec rename to apps/cli/stores/chocolatey/bitwarden-cli.nuspec diff --git a/stores/chocolatey/tools/VERIFICATION.txt b/apps/cli/stores/chocolatey/tools/VERIFICATION.txt similarity index 100% rename from stores/chocolatey/tools/VERIFICATION.txt rename to apps/cli/stores/chocolatey/tools/VERIFICATION.txt diff --git a/stores/snap/snapcraft.yaml b/apps/cli/stores/snap/snapcraft.yaml similarity index 100% rename from stores/snap/snapcraft.yaml rename to apps/cli/stores/snap/snapcraft.yaml diff --git a/tsconfig.json b/apps/cli/tsconfig.json similarity index 100% rename from tsconfig.json rename to apps/cli/tsconfig.json diff --git a/tslint.json b/apps/cli/tslint.json similarity index 100% rename from tslint.json rename to apps/cli/tslint.json diff --git a/webpack.config.js b/apps/cli/webpack.config.js similarity index 100% rename from webpack.config.js rename to apps/cli/webpack.config.js