Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 644 Bytes

sync.md

File metadata and controls

31 lines (20 loc) · 644 Bytes
title description contributors
CLI Command - cap sync
Capacitor CLI command - cap sync
dotNetkow

Capacitor CLI - cap sync

このコマンドは、copyを実行した後、updateを実行します。

npx cap sync [options] [<platform>]

Inputs:

  • platform (optional): android, ios

Options:

  • --deployment: Podfile.lock won't be deleted and pod install will use --deployment option.

Hooks

The following hooks are available for sync command:

  • capacitor:sync:before
  • capacitor:sync:after

More information