49 Commits

Author SHA1 Message Date
Mauricio Siu
c7088565ac Merge pull request #42 from immanuwell/fix-cli-version-from-package
fix: read CLI version from package metadata
2026-06-12 15:01:41 -06:00
Dokploy Bot
468543e309 chore: sync OpenAPI specification [skip ci]
Source: Dokploy/dokploy@b3c2e1e5af

Updated: 2026-06-08 15:21:38 UTC
2026-06-08 15:21:38 +00:00
Dokploy Bot
90d0d15013 chore: sync OpenAPI specification [skip ci]
Source: Dokploy/dokploy@1f4f94042f

Updated: 2026-06-08 15:21:22 UTC
2026-06-08 15:21:22 +00:00
Dokploy Bot
befe6e830a chore: sync OpenAPI specification [skip ci]
Source: Dokploy/dokploy@e9a0932b23

Updated: 2026-06-07 08:11:25 UTC
2026-06-07 08:11:25 +00:00
Dokploy Bot
a80497db88 chore: sync OpenAPI specification [skip ci]
Source: Dokploy/dokploy@6b68fcab8c

Updated: 2026-06-07 07:29:42 UTC
2026-06-07 07:29:42 +00:00
Dokploy Bot
0429c61fdd chore: sync OpenAPI specification [skip ci]
Source: Dokploy/dokploy@a0288f83d5

Updated: 2026-06-07 06:19:22 UTC
2026-06-07 06:19:22 +00:00
Dokploy Bot
a93ed49886 chore: sync OpenAPI specification [skip ci]
Source: Dokploy/dokploy@4900204107

Updated: 2026-06-07 06:15:56 UTC
2026-06-07 06:15:56 +00:00
Dokploy Bot
8e552f974a chore: sync OpenAPI specification [skip ci]
Source: Dokploy/dokploy@c968a2755e

Updated: 2026-06-06 23:46:02 UTC
2026-06-06 23:46:02 +00:00
Dokploy Bot
18c44440ba chore: sync OpenAPI specification [skip ci]
Source: Dokploy/dokploy@e6fc3db08f

Updated: 2026-06-06 20:22:45 UTC
2026-06-06 20:22:45 +00:00
Dokploy Bot
865ac21c03 chore: sync OpenAPI specification [skip ci]
Source: Dokploy/dokploy@b29a87aaa8

Updated: 2026-06-06 19:58:51 UTC
2026-06-06 19:58:51 +00:00
Dokploy Bot
9390b36ec0 chore: sync OpenAPI specification [skip ci]
Source: Dokploy/dokploy@60867d0b60

Updated: 2026-06-02 08:31:52 UTC
2026-06-02 08:31:52 +00:00
Dokploy Bot
8bbdc2ce11 chore: sync OpenAPI specification [skip ci]
Source: Dokploy/dokploy@6a0acd9cad

Updated: 2026-06-02 08:18:54 UTC
2026-06-02 08:18:54 +00:00
Dokploy Bot
2d0df3ed37 chore: sync OpenAPI specification [skip ci]
Source: Dokploy/dokploy@798e98c181

Updated: 2026-06-02 08:09:02 UTC
2026-06-02 08:09:02 +00:00
Dokploy Bot
91f779fcaf chore: sync OpenAPI specification [skip ci]
Source: Dokploy/dokploy@84a8083d91

Updated: 2026-06-02 08:06:29 UTC
2026-06-02 08:06:29 +00:00
Dokploy Bot
49ed66ac12 chore: sync OpenAPI specification [skip ci]
Source: Dokploy/dokploy@8640f138d3

Updated: 2026-06-02 08:01:33 UTC
2026-06-02 08:01:33 +00:00
Dokploy Bot
cd876c92a7 chore: sync OpenAPI specification [skip ci]
Source: Dokploy/dokploy@6ff2ca0173

Updated: 2026-05-31 21:29:52 UTC
2026-05-31 21:29:52 +00:00
Dokploy Bot
b6331a6471 chore: sync OpenAPI specification [skip ci]
Source: Dokploy/dokploy@30b3e1fe48

Updated: 2026-05-30 22:02:33 UTC
2026-05-30 22:02:33 +00:00
Dokploy Bot
2df05732e6 chore: sync OpenAPI specification [skip ci]
Source: Dokploy/dokploy@d7d642230c

Updated: 2026-05-30 07:12:20 UTC
2026-05-30 07:12:20 +00:00
Dokploy Bot
5985ee7229 chore: sync OpenAPI specification [skip ci]
Source: Dokploy/dokploy@4ba0f71220

Updated: 2026-05-30 07:07:24 UTC
2026-05-30 07:07:24 +00:00
Dokploy Bot
044d22110a chore: sync OpenAPI specification [skip ci]
Source: Dokploy/dokploy@8018027330

Updated: 2026-05-30 07:03:33 UTC
2026-05-30 07:03:33 +00:00
Dokploy Bot
a593c3025d chore: sync OpenAPI specification [skip ci]
Source: Dokploy/dokploy@a07106d649

Updated: 2026-05-22 23:21:57 UTC
2026-05-22 23:21:57 +00:00
Dokploy Bot
f552309885 chore: sync OpenAPI specification [skip ci]
Source: Dokploy/dokploy@6e342ee2f2

Updated: 2026-05-13 07:10:46 UTC
2026-05-13 07:10:46 +00:00
Dokploy Bot
74e5482e35 chore: sync OpenAPI specification [skip ci]
Source: Dokploy/dokploy@1fdbe87d84

Updated: 2026-05-13 06:50:13 UTC
2026-05-13 06:50:13 +00:00
Dokploy Bot
a6aa7ab5f4 chore: sync OpenAPI specification [skip ci]
Source: Dokploy/dokploy@67278d8783

Updated: 2026-05-13 06:43:20 UTC
2026-05-13 06:43:20 +00:00
Dokploy Bot
22d0dd10e0 chore: sync OpenAPI specification [skip ci]
Source: Dokploy/dokploy@aff200f84f

Updated: 2026-05-13 06:10:35 UTC
2026-05-13 06:10:35 +00:00
Mauricio Siu
784e25b529 Update package.json 2026-05-12 13:16:02 -06:00
Dokploy Bot
2d42e63a7b chore: sync OpenAPI specification [skip ci]
Source: Dokploy/dokploy@7a568aadac

Updated: 2026-05-12 19:14:34 UTC
2026-05-12 19:14:34 +00:00
Mauricio Siu
ad0df74ae9 Bump version from 0.29.2 to 0.29.3 2026-05-11 12:50:23 -06:00
Dokploy Bot
35599793b1 chore: sync OpenAPI specification [skip ci]
Source: Dokploy/dokploy@ccc8f6d047

Updated: 2026-05-11 17:58:23 UTC
2026-05-11 17:58:23 +00:00
immanuwell
05ca9f8ce4 fix: read CLI version from package metadata 2026-05-09 12:18:41 +04:00
Dokploy Bot
81d3d5e1e2 chore: sync OpenAPI specification [skip ci]
Source: Dokploy/dokploy@1c6fdc1b43

Updated: 2026-05-09 08:11:28 UTC
2026-05-09 08:11:28 +00:00
Dokploy Bot
b6a1dcb6bd chore: sync OpenAPI specification [skip ci]
Source: Dokploy/dokploy@547ba2d04b

Updated: 2026-05-09 07:10:38 UTC
2026-05-09 07:10:38 +00:00
Dokploy Bot
752624838b chore: sync OpenAPI specification [skip ci]
Source: Dokploy/dokploy@b9e97eb321

Updated: 2026-05-09 06:58:07 UTC
2026-05-09 06:58:07 +00:00
Dokploy Bot
ec8d8c18de chore: sync OpenAPI specification [skip ci]
Source: Dokploy/dokploy@fef2de1ec5

Updated: 2026-05-09 05:51:28 UTC
2026-05-09 05:51:28 +00:00
Dokploy Bot
bc3fe40c4f chore: sync OpenAPI specification [skip ci]
Source: Dokploy/dokploy@5177580d51

Updated: 2026-05-09 05:19:49 UTC
2026-05-09 05:19:49 +00:00
Dokploy Bot
049d9e2255 chore: sync OpenAPI specification [skip ci]
Source: Dokploy/dokploy@0f526af2c8

Updated: 2026-05-09 01:34:50 UTC
2026-05-09 01:34:50 +00:00
Dokploy Bot
036dc98cf7 chore: sync OpenAPI specification [skip ci]
Source: Dokploy/dokploy@8227a48ef4

Updated: 2026-05-09 01:06:16 UTC
2026-05-09 01:06:16 +00:00
Dokploy Bot
677d40dd38 chore: sync OpenAPI specification [skip ci]
Source: Dokploy/dokploy@d5d8914bf6

Updated: 2026-05-09 00:50:27 UTC
2026-05-09 00:50:27 +00:00
Dokploy Bot
dcd01689d8 chore: sync OpenAPI specification [skip ci]
Source: Dokploy/dokploy@746bb3ddc6

Updated: 2026-05-07 20:36:17 UTC
2026-05-07 20:36:17 +00:00
Dokploy Bot
b5e4da9cd9 chore: sync OpenAPI specification [skip ci]
Source: Dokploy/dokploy@e0c6ed699d

Updated: 2026-05-01 00:53:23 UTC
2026-05-01 00:53:23 +00:00
Dokploy Bot
ddcb947374 chore: bump version to 0.29.2
Source: Dokploy/dokploy@fb6b06f064

Release:
2026-04-25 05:09:09 +00:00
Dokploy Bot
6127c5e518 chore: sync OpenAPI specification [skip ci]
Source: Dokploy/dokploy@222b167a76

Updated: 2026-04-25 04:47:19 UTC
2026-04-25 04:47:19 +00:00
Dokploy Bot
637da35355 chore: sync OpenAPI specification [skip ci]
Source: Dokploy/dokploy@940d18ad25

Updated: 2026-04-25 03:52:56 UTC
2026-04-25 03:52:56 +00:00
Dokploy Bot
911e162617 chore: sync OpenAPI specification [skip ci]
Source: Dokploy/dokploy@29480cde90

Updated: 2026-04-24 18:50:04 UTC
2026-04-24 18:50:04 +00:00
Dokploy Bot
430c1746ba chore: sync OpenAPI specification [skip ci]
Source: Dokploy/dokploy@d7af82731c

Updated: 2026-04-22 03:39:08 UTC
2026-04-22 03:39:08 +00:00
Dokploy Bot
138c1e044d chore: sync OpenAPI specification [skip ci]
Source: Dokploy/dokploy@bad9731878

Updated: 2026-04-20 13:17:07 UTC
2026-04-20 13:17:07 +00:00
Dokploy Bot
56d8995b71 chore: sync OpenAPI specification [skip ci]
Source: Dokploy/dokploy@13248c8d8a

Updated: 2026-04-19 18:06:56 UTC
2026-04-19 18:06:56 +00:00
Dokploy Bot
90bc8ca394 chore: sync OpenAPI specification [skip ci]
Source: Dokploy/dokploy@b392e58001

Updated: 2026-04-18 04:41:52 UTC
2026-04-18 04:41:52 +00:00
Dokploy Bot
90e2ab63da chore: bump version to 0.29.0
Source: Dokploy/dokploy@425fef6e28

Release:
2026-04-17 20:49:59 +00:00
4 changed files with 34630 additions and 24725 deletions

59340
openapi.json

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +1,7 @@
{
"name": "@dokploy/cli",
"description": "A CLI to manage dokploy server remotely",
"version": "v0.29.0",
"version": "0.29.4",
"author": "Mauricio Siu",
"licenses": [
{

View File

@@ -1,13 +1,18 @@
#!/usr/bin/env node
import { readFileSync } from "node:fs";
import chalk from "chalk";
import { program } from "commander";
import { registerAuthCommand } from "./commands/auth.js";
import { registerGeneratedCommands } from "./generated/commands.js";
const packageJson = JSON.parse(
readFileSync(new URL("../package.json", import.meta.url), "utf8"),
) as { version: string };
const pkg = {
name: "dokploy",
version: "0.3.0",
version: packageJson.version,
description: "Dokploy CLI - Manage your Dokploy server",
};

View File

@@ -1,4 +1,5 @@
import { execFileSync } from "node:child_process";
import * as fs from "node:fs";
import * as path from "node:path";
import { fileURLToPath } from "node:url";
import { describe, expect, it } from "vitest";
@@ -6,6 +7,9 @@ import { describe, expect, it } from "vitest";
const __dirname = path.dirname(fileURLToPath(import.meta.url));
const ROOT = path.resolve(__dirname, "..");
const CLI = path.join(ROOT, "dist", "index.js");
const packageJson = JSON.parse(
fs.readFileSync(path.join(ROOT, "package.json"), "utf8"),
) as { version: string };
function run(...args: string[]): string {
return execFileSync("node", [CLI, ...args], {
@@ -25,7 +29,7 @@ describe("CLI", () => {
it("should show version with --version", () => {
const output = run("--version");
expect(output.trim()).toMatch(/^\d+\.\d+\.\d+$/);
expect(output.trim()).toBe(packageJson.version);
});
it("should show subcommands for application", () => {