Skip to content

Standardize where to source helper functions#47

Merged
gcbeltramini merged 1 commit into
mainfrom
gb/source-helper
Jun 7, 2026
Merged

Standardize where to source helper functions#47
gcbeltramini merged 1 commit into
mainfrom
gb/source-helper

Conversation

@gcbeltramini

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR standardizes the placement of source "${CLI_DIR}/core/helpers.sh" within command scripts, moving it below the ##? help-doc blocks and immediately before parse_help "$@", aligning these commands with the prevailing pattern used across other commands in the repo.

Changes:

  • Moved source "${CLI_DIR}/core/helpers.sh" below the help documentation block in several commands/* scripts.
  • Kept execution order intact by sourcing helpers immediately before parse_help "$@".

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
commands/setup/update.sh Relocates helpers sourcing to after ##? docs, before parse_help.
commands/setup/java.sh Relocates helpers sourcing to after ##? docs, before parse_help.
commands/git/trigger.sh Relocates helpers sourcing to after ##? docs, before parse_help.
commands/git/stashed-changes.sh Relocates helpers sourcing to after ##? docs, before parse_help.
commands/git/local-changes.sh Relocates helpers sourcing to after ##? docs, before parse_help.
commands/git/local-branches.sh Relocates helpers sourcing to after ##? docs, before parse_help.
commands/git/clone.sh Relocates helpers sourcing to after ##? docs, before parse_help.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@gcbeltramini gcbeltramini merged commit 5e4cb8d into main Jun 7, 2026
2 checks passed
@gcbeltramini gcbeltramini deleted the gb/source-helper branch June 7, 2026 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants