auix 0.0.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/LICENSE ADDED
@@ -0,0 +1,11 @@
1
+ Copyright (c) 2026 auix
2
+
3
+ All rights reserved.
4
+
5
+ This software is proprietary and confidential. Use of this package is
6
+ permitted only in conjunction with the auix platform (https://auix.dev)
7
+ under a valid subscription or agreement.
8
+
9
+ Redistribution, modification, reverse engineering, or use outside of
10
+ the auix platform is strictly prohibited without prior written consent
11
+ from auix.
package/README.md ADDED
@@ -0,0 +1,111 @@
1
+ # auix
2
+
3
+ CLI for the auix platform — manage environment variables and authenticate from your terminal.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm install -g auix
9
+ ```
10
+
11
+ ## Authentication
12
+
13
+ ### Interactive (Device Flow)
14
+
15
+ ```bash
16
+ auix login
17
+ ```
18
+
19
+ Opens your browser to authenticate. After approval, select an organization and an API key is created automatically.
20
+
21
+ ### Non-interactive (CI/CD)
22
+
23
+ ```bash
24
+ auix login --key at_xxx
25
+ ```
26
+
27
+ ## Commands
28
+
29
+ ### `auix env pull`
30
+
31
+ Pull environment variables to a local file.
32
+
33
+ ```bash
34
+ auix env pull # → .env.local
35
+ auix env pull --env production # specific environment
36
+ auix env pull --app web --out .env # specific app, custom output
37
+ ```
38
+
39
+ ### `auix env push`
40
+
41
+ Push a local env file to remote.
42
+
43
+ ```bash
44
+ auix env push .env.local
45
+ auix env push .env --env staging --overwrite
46
+ ```
47
+
48
+ ### `auix env list`
49
+
50
+ List variables with masked values.
51
+
52
+ ```bash
53
+ auix env list
54
+ auix env list --show-values
55
+ ```
56
+
57
+ ### `auix env set`
58
+
59
+ Set a single variable.
60
+
61
+ ```bash
62
+ auix env set DATABASE_URL=postgres://...
63
+ auix env set API_KEY=secret --env production
64
+ ```
65
+
66
+ ### `auix env diff`
67
+
68
+ Compare two environments.
69
+
70
+ ```bash
71
+ auix env diff development production
72
+ auix env diff dev staging --show-values
73
+ ```
74
+
75
+ ## Configuration
76
+
77
+ ### Global (`~/.auix/config.json`)
78
+
79
+ Stores credentials. Created by `auix login`.
80
+
81
+ ```json
82
+ {
83
+ "apiKey": "at_...",
84
+ "baseUrl": "https://api.auix.dev",
85
+ "appUrl": "https://app.auix.dev"
86
+ }
87
+ ```
88
+
89
+ ### Project (`.auixrc`)
90
+
91
+ Optional. Place in your repo root to set defaults.
92
+
93
+ ```json
94
+ {
95
+ "project": "my-project",
96
+ "apps": {
97
+ "apps/web": "web",
98
+ "apps/api": "api"
99
+ }
100
+ }
101
+ ```
102
+
103
+ The `apps` map auto-detects the current app based on your working directory.
104
+
105
+ ### Environment Variables
106
+
107
+ Override config files for CI/CD:
108
+
109
+ - `AUIX_API_KEY` — API key
110
+ - `AUIX_BASE_URL` — API URL
111
+ - `AUIX_APP_URL` — Web app URL