ctx-sync 1.2.1 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -77,6 +77,12 @@ ctx-sync restore my-app
|
|
|
77
77
|
|
|
78
78
|
ctx-sync decrypts your state, displays your context, and asks before running any commands.
|
|
79
79
|
|
|
80
|
+
If your project is at a different path on the new machine, use `--path`:
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
ctx-sync restore my-app --path ~/code/my-app
|
|
84
|
+
```
|
|
85
|
+
|
|
80
86
|
## What Gets Tracked
|
|
81
87
|
|
|
82
88
|
| State | Description |
|
|
@@ -105,6 +111,7 @@ ctx-sync decrypts your state, displays your context, and asks before running any
|
|
|
105
111
|
| `ctx-sync list` | List all tracked projects |
|
|
106
112
|
| `ctx-sync status` | Show sync status |
|
|
107
113
|
| `ctx-sync restore <project>` | Restore project state (with command confirmation) |
|
|
114
|
+
| `ctx-sync restore <project> --path <dir>` | Restore with custom local project directory |
|
|
108
115
|
|
|
109
116
|
### Environment Variables
|
|
110
117
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Shared constants for ctx-sync.
|
|
3
3
|
*/
|
|
4
4
|
/** Current CLI version */
|
|
5
|
-
export declare const VERSION = "1.
|
|
5
|
+
export declare const VERSION = "1.3.0";
|
|
6
6
|
/** Default safe-list: env var keys that MAY be stored as plaintext (with --allow-plain) */
|
|
7
7
|
export declare const DEFAULT_SAFE_LIST: readonly string[];
|
|
8
8
|
/** State file names (encrypted) */
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Shared constants for ctx-sync.
|
|
3
3
|
*/
|
|
4
4
|
/** Current CLI version */
|
|
5
|
-
export const VERSION = '1.
|
|
5
|
+
export const VERSION = '1.3.0';
|
|
6
6
|
/** Default safe-list: env var keys that MAY be stored as plaintext (with --allow-plain) */
|
|
7
7
|
export const DEFAULT_SAFE_LIST = [
|
|
8
8
|
'NODE_ENV',
|