mirror of
https://github.com/bitwarden/cli
synced 2025-12-11 13:53:25 +00:00
force sync option
This commit is contained in:
@@ -9,7 +9,7 @@ export class SyncCommand {
|
|||||||
|
|
||||||
async run(cmd: program.Command): Promise<Response> {
|
async run(cmd: program.Command): Promise<Response> {
|
||||||
try {
|
try {
|
||||||
const result = await this.syncService.fullSync(false);
|
const result = await this.syncService.fullSync(cmd.force || false);
|
||||||
return Response.success();
|
return Response.success();
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
return Response.success(e.toString());
|
return Response.success(e.toString());
|
||||||
|
|||||||
Reference in New Issue
Block a user