- Added documentation for new commands related to environment management: `dokploy environment:create` and `dokploy environment:delete`.
- Enhanced clarity on usage instructions for managing environments within the project.
- Refactored ProjectInfo command to retrieve project information based on environments.
- Added detailed logging for applications, compose services, and databases categorized by environment.
- Implemented total counts for applications and databases across all environments.
- Improved error handling for cases with no environments found.
- Introduced EnvironmentCreate and EnvironmentDelete commands for managing environments within projects.
- Implemented interactive prompts for selecting projects and environments if flags are not provided.
- Added flags for projectId, environmentId, name, description, and skipConfirm to enhance command flexibility.
- Improved error handling for environment creation and deletion processes.
- Introduced environmentId flag to all database commands (create, delete, deploy, stop) for specifying the environment.
- Implemented interactive prompts for selecting project and environment if flags are not provided.
- Enhanced error handling for cases with no available environments or database instances.
- Updated type definitions to include Database for better type safety.
- Introduced environmentId flag to AppCreate, AppDelete, and AppStop commands for specifying the environment.
- Implemented interactive prompts for selecting project and environment if flags are not provided.
- Enhanced error handling for cases with no available environments or applications.
- Updated type definitions to include Application for better type safety.
- Added environmentId flag to the AppDeploy command for specifying the environment.
- Implemented interactive prompts for selecting project, environment, and application if flags are not provided.
- Updated type definitions to include Application and Environment types for better type safety.
- Improved error handling for cases with no available environments or applications.
- Replace Bearer token authentication with x-api-key header across all commands
- Update token verification endpoints from auth.verifyToken to user.get
- Remove unnecessary console.log debug statements
- Bump version to v0.2.7
- Add support for DOKPLOY_AUTH_TOKEN and DOKPLOY_URL environment variables
- Enhance error messaging for authentication configuration
- Improve token validation process with more robust error handling
- Update version to v0.2.6
This commit introduces several improvements across multiple CLI commands:
- Added new flags for more flexible command usage
- Implemented interactive mode for commands when flags are not provided
- Improved error handling and messaging
- Added support for environment variable authentication
- Standardized confirmation prompts and error messages
- Enhanced type safety with TypeScript improvements