mirror of
https://github.com/Jeuners/ECC.git
synced 2026-09-13 00:32:30 +02:00
feat: add auto-update command
This commit is contained in:
parent
84ac76fa2b
commit
a7a56fa2a2
12 changed files with 817 additions and 11 deletions
|
|
@ -33,6 +33,10 @@ const COMMANDS = {
|
|||
script: 'repair.js',
|
||||
description: 'Restore drifted or missing ECC-managed files',
|
||||
},
|
||||
'auto-update': {
|
||||
script: 'auto-update.js',
|
||||
description: 'Pull latest ECC changes and reinstall the current managed targets',
|
||||
},
|
||||
status: {
|
||||
script: 'status.js',
|
||||
description: 'Query the ECC SQLite state store status summary',
|
||||
|
|
@ -58,6 +62,7 @@ const PRIMARY_COMMANDS = [
|
|||
'list-installed',
|
||||
'doctor',
|
||||
'repair',
|
||||
'auto-update',
|
||||
'status',
|
||||
'sessions',
|
||||
'session-inspect',
|
||||
|
|
@ -90,6 +95,7 @@ Examples:
|
|||
ecc list-installed --json
|
||||
ecc doctor --target cursor
|
||||
ecc repair --dry-run
|
||||
ecc auto-update --dry-run
|
||||
ecc status --json
|
||||
ecc sessions
|
||||
ecc sessions session-active --json
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue