agendex-cli 0.1.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/LICENSE +25 -0
- package/README.md +41 -0
- package/dist/cli.js +3124 -0
- package/package.json +33 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
GNU AFFERO GENERAL PUBLIC LICENSE
|
|
2
|
+
Version 3, 19 November 2007
|
|
3
|
+
|
|
4
|
+
Copyright (C) 2025 Agendex
|
|
5
|
+
|
|
6
|
+
This program is free software: you can redistribute it and/or modify
|
|
7
|
+
it under the terms of the GNU Affero General Public License as published
|
|
8
|
+
by the Free Software Foundation, either version 3 of the License, or
|
|
9
|
+
(at your option) any later version.
|
|
10
|
+
|
|
11
|
+
This program is distributed in the hope that it will be useful,
|
|
12
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
14
|
+
GNU Affero General Public License for more details.
|
|
15
|
+
|
|
16
|
+
You should have received a copy of the GNU Affero General Public License
|
|
17
|
+
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
EXCEPTION: The contents of the `packages/ee/` directory are NOT licensed
|
|
22
|
+
under the AGPL-3.0. They are licensed under the Agendex Enterprise License
|
|
23
|
+
found at `packages/ee/LICENSE`.
|
|
24
|
+
|
|
25
|
+
All other code in this repository is licensed under the AGPL-3.0.
|
package/README.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# `agendex-cli`
|
|
2
|
+
|
|
3
|
+
Node-compatible Agendex CLI for browser login, one-shot sync, daemon supervision, and status checks.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install -g agendex-cli
|
|
9
|
+
pnpm add -g agendex-cli
|
|
10
|
+
yarn global add agendex-cli
|
|
11
|
+
bun install -g agendex-cli
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Commands
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
agendex login
|
|
18
|
+
agendex login --url https://agendex.yourdomain.com
|
|
19
|
+
agendex start
|
|
20
|
+
agendex stop
|
|
21
|
+
agendex sync
|
|
22
|
+
agendex status
|
|
23
|
+
agendex logout
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Supported Runtime
|
|
27
|
+
|
|
28
|
+
- Runtime: Node.js 20+
|
|
29
|
+
- Installers: `npm`, `pnpm`, `yarn`, and `bun`
|
|
30
|
+
|
|
31
|
+
## Self-Hosted Login
|
|
32
|
+
|
|
33
|
+
The default login target is `https://agendex.dev`.
|
|
34
|
+
|
|
35
|
+
For self-hosted deployments, always pass your site URL explicitly:
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
agendex login --url https://agendex.yourdomain.com
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
This opens your deployment's OAuth flow and stores the returned `cloudToken` and `convexUrl` in `~/.agendex/config.json`.
|