Commit Graph

4 Commits

Author SHA1 Message Date
Mauricio Siu
a7a5e2e0a3 feat: add environment selection to database commands
- 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.
2025-10-05 01:59:37 -06:00
Mauricio Siu
82aed684b9 feat: update authentication method to use x-api-key header
- 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
2025-03-04 00:13:51 -06:00
Mauricio Siu
10cfe23763 feat: enhance CLI commands with improved flags and error handling
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
2025-02-23 21:29:45 -06:00
Mauricio Siu
3b12f55ae4 feat: add stop command 2024-06-22 16:46:05 -06:00