@punkcode/cli 0.1.2 → 0.1.3
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 -3
- package/dist/cli.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -38,10 +38,11 @@ Your machine will appear in the punk app — you can now send prompts to Claude
|
|
|
38
38
|
| `punk connect` | Connect this machine to punk |
|
|
39
39
|
| `punk logout` | Log out and clear stored credentials |
|
|
40
40
|
|
|
41
|
-
##
|
|
41
|
+
## Updating
|
|
42
42
|
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
```bash
|
|
44
|
+
npm update -g @punkcode/cli
|
|
45
|
+
```
|
|
45
46
|
|
|
46
47
|
## License
|
|
47
48
|
|
package/dist/cli.js
CHANGED
|
@@ -1021,7 +1021,7 @@ function logout() {
|
|
|
1021
1021
|
|
|
1022
1022
|
// src/commands/index.ts
|
|
1023
1023
|
function registerCommands(program2) {
|
|
1024
|
-
program2.command("connect
|
|
1024
|
+
program2.command("connect").argument("[server]", "Backend server URL", "https://api.punkcode.dev").description("Connect to backend server").option("-t, --token <token>", "Authentication token").option("-d, --device-id <deviceId>", "Device identifier (defaults to hostname)").action(connect);
|
|
1025
1025
|
program2.command("login").description("Log in with your email and password").action(login);
|
|
1026
1026
|
program2.command("logout").description("Log out and clear stored credentials").action(logout);
|
|
1027
1027
|
}
|