doable-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.
Files changed (4) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +78 -0
  3. package/dist/index.js +6558 -0
  4. package/package.json +68 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Doable
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,78 @@
1
+ # doable
2
+
3
+ The official CLI for [Doable](https://doable.do) — deploy a project, manage domains and addons, and stream logs from the terminal.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm install -g doable-cli
9
+ ```
10
+
11
+ The package name is `doable-cli`; the binary it installs is `doable`.
12
+
13
+ Requires Node.js 20 or newer.
14
+
15
+ ## Quickstart
16
+
17
+ ```bash
18
+ doable login # device-code flow, opens your browser
19
+ doable deploy # deploy the current directory
20
+ doable logs --follow # stream the latest deployment's logs
21
+ ```
22
+
23
+ The first deploy auto-detects your stack, builds it on Doable, and prints the live URL.
24
+
25
+ ## Commands
26
+
27
+ ```
28
+ doable login Sign in (device-code flow)
29
+ doable logout Clear local credentials
30
+
31
+ doable projects list List your projects
32
+ doable projects create <name> Create a project
33
+
34
+ doable deploy Deploy the current directory
35
+ doable deploy --from-repo <url> Deploy a public Git repo
36
+
37
+ doable deployments list Recent deployments for a project
38
+ doable deployments rollback <id> Roll back to a previous deployment
39
+
40
+ doable logs Stream logs for the latest deployment
41
+ doable logs --deployment <id> Stream logs for a specific deployment
42
+
43
+ doable status Account + recent activity overview
44
+ doable doctor Diagnose a failed deployment
45
+
46
+ doable domain search <name> Find available domains
47
+ doable domain buy <name> Buy a domain through Doable
48
+ doable domain connect <host> Connect a domain you already own
49
+
50
+ doable server add Connect a BYO server (DigitalOcean, AWS, ...)
51
+ doable server list List your servers
52
+
53
+ doable addon attach Provision a database / cache / queue
54
+ doable addon list List addons attached to a project
55
+ doable addon backup <id> Take a backup
56
+ doable addon restore <id> Restore from a backup
57
+
58
+ doable open Open the current project in a browser
59
+ doable claim <token> Claim a preview deploy
60
+ doable init Wire AI editors (Claude, Cursor, Codex)
61
+ ```
62
+
63
+ Run `doable <command> --help` for detail on any command.
64
+
65
+ ## Configuration
66
+
67
+ The CLI stores its login token at `~/.doable/config.json`. Override the API endpoint with the `DOABLE_API_URL` environment variable (defaults to `https://api.doable.do`).
68
+
69
+ ## Links
70
+
71
+ - Documentation: <https://doable.do/docs>
72
+ - Dashboard: <https://doable.do>
73
+ - Issues: <https://github.com/doublewltd/doable.do/issues>
74
+ - Source: <https://github.com/doublewltd/doable.do>
75
+
76
+ ## License
77
+
78
+ MIT