Golang Based Version#2
Open
boykoandrii wants to merge 33 commits into
Open
Conversation
Golang based version
Compare purge command with bash version
Update platform_update command
Add logo and help information
Add auto-assignment of ports between different projects
Add version of utility
- Add VERSION file as single source of truth - Add internal/config/version.go for version reading - Add -v/--version flag to root command - Improve version detection from any directory - Update Homebrew formula to read from VERSION file
Golang based
- Fixed copyComposeFiles function to check for specific docker-compose.yml file - Previously failed when config directory existed but compose files didn't - Now copies compose files even if SSH keys or other files exist in config dir - Resolves 'no such file or directory' errors during install
- Add port prefix system (301xx, 302xx, etc.) like bash version - Implement sophisticated find-free-port with conflict detection - Add automatic hosts file management for *.docker.local domains - Support multiple projects running simultaneously with unique ports - Add completion message showing all URLs and credentials - Fix application URL configuration during installation Now supports: - orocommerce-demo1 → nginx:30180, xhgui:30181, db:30132, etc. - orocommerce-demo2 → nginx:30280, xhgui:30281, db:30232, etc. - Each project gets https://PROJECT.docker.local URLs
Golang based
- Shows all containers with status emojis (✅🔴⏸️🔄) - Displays port mappings and health status - Lists service URLs (application, development tools, infrastructure) - Filters containers by current project name - Shows Docker Compose command being used - Formatted output with tabwriter for clean alignment Usage: orodc-go status Features: - Project overview (name, directory) - Container status table with SERVICE/STATUS/PORTS/HEALTH/IMAGE - Service URLs section with all accessible endpoints - Environment detection (loads .env-app, assigns ports) - Health status indicators - Clean, developer-friendly output
Add status command with comprehensive project overview
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Golang Based Version