refactor: migrate to biome and update CLI structure

- Removed ESLint configuration and ignore files in favor of Biome for linting.
- Introduced biome.json for configuration and updated package.json to reflect new dependencies.
- Added OpenAPI specification for Dokploy API and generated CLI commands from it.
- Refactored CLI entry point to use Commander instead of Oclif.
- Implemented new authentication command and removed deprecated commands.
- Updated TypeScript configuration and added build scripts for improved development workflow.
- Cleaned up unused files and commands to streamline the codebase.
This commit is contained in:
Mauricio Siu
2026-04-15 18:37:45 -06:00
parent 761f6e795f
commit ac02c614a6
55 changed files with 58685 additions and 10607 deletions

View File

@@ -1 +1,21 @@
export {run} from '@oclif/core'
#!/usr/bin/env node
import { program } from "commander";
import chalk from "chalk";
import { registerAuthCommand } from "./commands/auth.js";
import { registerGeneratedCommands } from "./generated/commands.js";
const pkg = { name: "dokploy", version: "0.3.0", description: "Dokploy CLI - Manage your Dokploy server" };
program
.name(pkg.name)
.version(pkg.version)
.description(pkg.description);
registerAuthCommand(program);
registerGeneratedCommands(program);
program.parseAsync(process.argv).catch((err) => {
console.error(chalk.red(err.message));
process.exit(1);
});