@flagify/cli 0.0.1 → 0.0.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.
Files changed (2) hide show
  1. package/README.md +57 -0
  2. package/package.json +3 -2
package/README.md ADDED
@@ -0,0 +1,57 @@
1
+ # @flagify/cli
2
+
3
+ The official Flagify CLI for managing feature flags from the terminal.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm install -g @flagify/cli
9
+ ```
10
+
11
+ Or with Homebrew:
12
+
13
+ ```bash
14
+ brew tap flagifyhq/tap
15
+ brew install flagify
16
+ ```
17
+
18
+ Or download binaries directly from [GitHub Releases](https://github.com/flagifyhq/cli/releases).
19
+
20
+ ## Quick Start
21
+
22
+ ```bash
23
+ # Login to your account
24
+ flagify login
25
+
26
+ # List feature flags
27
+ flagify flags list
28
+
29
+ # Create a new flag
30
+ flagify flags create --key my-flag --name "My Flag" --type boolean
31
+
32
+ # Toggle a flag
33
+ flagify flags toggle my-flag --enabled
34
+ ```
35
+
36
+ ## Commands
37
+
38
+ | Command | Description |
39
+ |---------|-------------|
40
+ | `flagify login` | Authenticate with email and password |
41
+ | `flagify logout` | Clear stored credentials |
42
+ | `flagify flags list` | List all flags in the current project |
43
+ | `flagify flags create` | Create a new feature flag |
44
+ | `flagify flags toggle` | Enable or disable a flag |
45
+ | `flagify version` | Print CLI version |
46
+
47
+ ## Configuration
48
+
49
+ The CLI stores credentials in `~/.flagify/config.json`. Use `--project` and `--environment` flags to target specific resources.
50
+
51
+ ## Requirements
52
+
53
+ - Flagify account ([flagify.dev](https://flagify.dev))
54
+
55
+ ## License
56
+
57
+ MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flagify/cli",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "Flagify CLI — manage feature flags from the terminal",
5
5
  "license": "MIT",
6
6
  "bin": {
@@ -21,7 +21,8 @@
21
21
  ],
22
22
  "files": [
23
23
  "bin/",
24
- "install.js"
24
+ "install.js",
25
+ "README.md"
25
26
  ],
26
27
  "dependencies": {
27
28
  "tar": "^7.5.13"