feat: Phase 3 - CLI sync commands
- Created comprehensive sync command suite: - 'opal sync init' - Configure sync with server (URL, API key) - 'opal sync status' - Show sync configuration and queue status - 'opal sync now' - Bidirectional sync with conflict resolution - 'opal sync up' - Push local changes to server - 'opal sync down' - Pull server changes to local - 'opal sync log' - View conflict resolution log - Added interactive prompts for init (URL and API key) - Automatic client ID generation (UUID) - Display user-friendly sync results with emojis - Support for viewing queued offline changes - Integration with config system for persistent sync settings
This commit is contained in:
@@ -25,7 +25,7 @@ const parsedArgsKey contextKey = "parsedArgs"
|
||||
var commandNames = []string{
|
||||
"add", "list", "done", "modify", "delete",
|
||||
"start", "stop", "count", "projects", "tags",
|
||||
"info", "edit", "server",
|
||||
"info", "edit", "server", "sync",
|
||||
}
|
||||
|
||||
var commandsWithModifiers = map[string]bool{
|
||||
|
||||
Reference in New Issue
Block a user