@amoghvj/txr 0.1.1 → 0.1.2
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 +4 -11
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,21 +13,13 @@ It works independently of any user Git repository, maintaining its own internal
|
|
|
13
13
|
|
|
14
14
|
## Installation
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
`txr` is available as a global npm package.
|
|
17
17
|
|
|
18
18
|
```bash
|
|
19
|
-
|
|
20
|
-
cd agent-cli
|
|
21
|
-
|
|
22
|
-
# Install dependencies and build
|
|
23
|
-
npm install
|
|
24
|
-
npm run build
|
|
25
|
-
|
|
26
|
-
# Link globally (optional, so you can run 'txr' anywhere)
|
|
27
|
-
npm link
|
|
19
|
+
npm install -g @amoghvj/txr
|
|
28
20
|
```
|
|
29
21
|
|
|
30
|
-
|
|
22
|
+
Once installed, the `txr` command will be available anywhere on your system.
|
|
31
23
|
|
|
32
24
|
## Usage Instructions
|
|
33
25
|
|
|
@@ -110,6 +102,7 @@ txr history
|
|
|
110
102
|
|
|
111
103
|
## Advanced Options
|
|
112
104
|
|
|
105
|
+
* `txr clear`: Permanently reset the internal state and delete all transaction history in the active `.txr` folder. Useful if the system enters an unrecoverable state or you want to start fresh. Use `-y` to skip confirmation.
|
|
113
106
|
* `txr run --transactional "cmd"`: Force a command to be tracked as transactional, even if the classifier flags it as unsafe.
|
|
114
107
|
* `txr run --no-transaction "cmd"`: Force a command to run directly without tracking or generating a transaction.
|
|
115
108
|
|