Hotfix/setup aesthetics #28
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
luchaveztech/larakube-cli!28
Loading…
Reference in a new issue
No description provided.
Delete branch "hotfix/setup-aesthetics"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Refactored
SetupCommandaesthetics to use Laravel Prompts (note(),password(), named arguments) and thelaraKube*badge methods consistently throughout the Docker installation flow. Removed the oldsh*style from the Docker step and made distro detection universal.Changes
app/Traits/LaraKubeOutput.phplaraKubeSuccess()(unused after switching tolaraKubeInfofor success messages)app/Commands/SetupCommand.phpconfirm()calls now uselabel:named argumentpassthru('sudo -v')withpassword()from Laravel Prompts, piped tosudo -Swith exit code validationget.docker.comconvenience script$this->shRunSteps()with Symfony Console'screateProgressBar()in blueshInfo/shWarn/shSuccess/shErrorcalls in the Docker flow replaced withlaraKubeInfo/laraKubeWarn/laraKubeError(blue badge style)note()for headers — replaced$this->shHeader()and$this->shFooter()withnote()from Laravel Promptsnote()for group messages — replaced manual$this->line()blocks withnote()for the docker group instructionsapp/Traits/InstallsK9s.php$this->warn()with$this->laraKubeWarn()View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.