Repository navigation
3.0.0
Breaking Changes
- folders synced with previous versions of
goopare not compatible with3.0.0 - to fix this, sync your folder with your current version of
goop, delete the.goopfile in the sync folder, and then re-sync using the latest version
New Features
- Interactive prompts:
goopnow uses Spectre.Console for improved, interactive terminal prompts - Remote item management: you can interact with Google Drive directly using the
remotesubcommands, no sync folder required - Global cache: a global cache (
~/.config/goop-cli/cache.db) is now used to map your Google Drive structure for faster operations diffcommand: view differences in last modified times between local and remote items for any sync folder- Ignore file: use a
.goopignorefile to specify a list of glob patterns thatgoopshould ignore when process items in a sync folder - Operation filtering:
- you can filter
pushandpulloperations using the--operations [c|u|d]flag - you can also specify additional ignored glob patterns using
--ignore <glob-pattern>
- you can filter
Getting started
A bit of setup is required before goop can interact with Google Drive's API. Once that's done, you can use the tool with ease.
# enter a directory you'd like to sync with Google Drive
cd my-sync-folder
# initialize the sync folder
goop init
# pull the remote items from Google Drive
goop pull
# push your changes to Google Drive
goop push