@powerformer/refly-cli 0.1.0 → 0.1.1-beta.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/commands/refly-login.md +17 -0
- package/commands/refly-status.md +19 -0
- package/commands/refly-upgrade.md +17 -0
- package/dist/bin/refly.js +5949 -5954
- package/dist/bin/refly.js.map +1 -1
- package/dist/index.d.ts +33 -33
- package/dist/index.js +5 -15
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: refly-login
|
|
3
|
+
description: Authenticate with Refly
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Run:
|
|
7
|
+
|
|
8
|
+
```bash
|
|
9
|
+
refly login
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
This will:
|
|
13
|
+
1. Prompt for API key (or use REFLY_API_KEY env var)
|
|
14
|
+
2. Verify authentication with Refly API
|
|
15
|
+
3. Store credentials securely in `~/.refly/config.json`
|
|
16
|
+
|
|
17
|
+
After successful login, you can use all workflow commands.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: refly-status
|
|
3
|
+
description: Check Refly CLI configuration and authentication status
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Run:
|
|
7
|
+
|
|
8
|
+
```bash
|
|
9
|
+
refly status
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Parse JSON and summarize:
|
|
13
|
+
- CLI version
|
|
14
|
+
- Current user
|
|
15
|
+
- API endpoint
|
|
16
|
+
- Auth status + expiry
|
|
17
|
+
- Skill installation status
|
|
18
|
+
|
|
19
|
+
If not authenticated, suggest running `refly login`.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: refly-upgrade
|
|
3
|
+
description: Upgrade Refly CLI skill files
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Run:
|
|
7
|
+
|
|
8
|
+
```bash
|
|
9
|
+
refly upgrade
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
This will:
|
|
13
|
+
1. Reinstall the latest SKILL.md and reference files
|
|
14
|
+
2. Update slash commands (if `~/.claude/commands/` exists)
|
|
15
|
+
3. Update skill version in config
|
|
16
|
+
|
|
17
|
+
Useful when you've updated the CLI package and want to refresh skill files.
|