@sysprompthub/cli 1.1.0 → 1.1.1
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 +3 -34
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Command-line interface for syncing system prompts from SysPromptHub to your projects.
|
|
4
4
|
|
|
5
|
-
For programmatic usage, see [@sysprompthub/sdk](
|
|
5
|
+
For programmatic usage, see [@sysprompthub/sdk](https://www.npmjs.com/package/@sysprompthub/sdk).
|
|
6
6
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
|
@@ -21,7 +21,7 @@ sysprompthub init
|
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
This interactive command will:
|
|
24
|
-
1. Prompt for your API key (
|
|
24
|
+
1. Prompt for your API key (find yours at https://app.sysprompthub.com/api-keys)
|
|
25
25
|
2. Let you search and select a prompt pack
|
|
26
26
|
3. Let you select your AI assistants (Copilot, Claude, or custom path)
|
|
27
27
|
4. Save workspace configuration to `.sysprompthub.json`
|
|
@@ -34,37 +34,6 @@ Sync prompts from your configured pack:
|
|
|
34
34
|
sysprompthub sync
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
Options:
|
|
38
|
-
- `-e, --environment <ENV>` - API environment to use (local, development, staging, production)
|
|
39
|
-
|
|
40
|
-
### Configuration
|
|
41
|
-
|
|
42
|
-
#### User-level Config (`~/.sysprompthub/config.json`)
|
|
43
|
-
Stores your API key:
|
|
44
|
-
```json
|
|
45
|
-
{
|
|
46
|
-
"apiKey": "your-40-character-api-key"
|
|
47
|
-
}
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
#### Workspace-level Config (`.sysprompthub.json`)
|
|
51
|
-
Stores project-specific settings:
|
|
52
|
-
```json
|
|
53
|
-
{
|
|
54
|
-
"packName": "owner/pack/latest",
|
|
55
|
-
"assistants": ["copilot", "claude"],
|
|
56
|
-
"environment": "production"
|
|
57
|
-
}
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
You can also use a custom path instead of assistants:
|
|
61
|
-
```json
|
|
62
|
-
{
|
|
63
|
-
"packName": "owner/pack/latest",
|
|
64
|
-
"path": "prompts/system-prompt.md"
|
|
65
|
-
}
|
|
66
|
-
```
|
|
67
|
-
|
|
68
37
|
## Workflow
|
|
69
38
|
|
|
70
39
|
1. **First time setup**: Run `sysprompthub init` to configure your API key and project
|
|
@@ -77,4 +46,4 @@ See [CONTRIBUTING.md](./CONTRIBUTING.md) for development instructions.
|
|
|
77
46
|
|
|
78
47
|
## License
|
|
79
48
|
|
|
80
|
-
|
|
49
|
+
See [LICENSE](./LICENSE)
|