Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions commands/git/clone.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#!/usr/bin/env bash
set -euo pipefail

source "${CLI_DIR}/core/helpers.sh"

##? Clone GitHub repository.
##?
##? Usage:
Expand All @@ -12,6 +10,7 @@ source "${CLI_DIR}/core/helpers.sh"
##? git clone my-org my-cool-repo
##? git clone my-username my-cool-repo ~/Documents/Projects

source "${CLI_DIR}/core/helpers.sh"
parse_help "$@"
declare destination_dir org_name repo_name

Expand Down
3 changes: 1 addition & 2 deletions commands/git/local-branches.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#!/usr/bin/env bash
set -euo pipefail

source "${CLI_DIR}/core/helpers.sh"

##? Find git repositories with local branches.
##?
##? Usage:
Expand All @@ -11,6 +9,7 @@ source "${CLI_DIR}/core/helpers.sh"
##? Options:
##? <path> Path to the directory to search in [default: .]

source "${CLI_DIR}/core/helpers.sh"
parse_help "$@"
declare path

Expand Down
3 changes: 1 addition & 2 deletions commands/git/local-changes.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#!/usr/bin/env bash
set -euo pipefail

source "${CLI_DIR}/core/helpers.sh"

##? Find git repositories with uncommitted changes.
##?
##? Usage:
Expand All @@ -11,6 +9,7 @@ source "${CLI_DIR}/core/helpers.sh"
##? Options:
##? <path> Path to the directory to search in [default: .]

source "${CLI_DIR}/core/helpers.sh"
parse_help "$@"
declare path

Expand Down
3 changes: 1 addition & 2 deletions commands/git/stashed-changes.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#!/usr/bin/env bash
set -euo pipefail

source "${CLI_DIR}/core/helpers.sh"

##? Find git repositories with stashed changes.
##?
##? Usage:
Expand All @@ -11,6 +9,7 @@ source "${CLI_DIR}/core/helpers.sh"
##? Options:
##? <path> Path to the directory to search in [default: .]

source "${CLI_DIR}/core/helpers.sh"
parse_help "$@"
declare path

Expand Down
3 changes: 1 addition & 2 deletions commands/git/trigger.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
#!/usr/bin/env bash
set -euo pipefail

source "${CLI_DIR}/core/helpers.sh"

##? Trigger continuous integration (CI) on GitHub repository, such as GitHub Action.
##?
##? This command will make an empty commit and push to the current branch.
##?
##? Usage:
##? git trigger [--force]

source "${CLI_DIR}/core/helpers.sh"
parse_help "$@"
declare force

Expand Down
3 changes: 1 addition & 2 deletions commands/setup/java.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#!/usr/bin/env bash
set -euo pipefail

source "${CLI_DIR}/core/helpers.sh"

##? Set up Java on your computer.
##?
##? This script installs 'jenv' and Azul Zulu Java, which works in architectures x86_64 and arm64.
Expand All @@ -21,6 +19,7 @@ source "${CLI_DIR}/core/helpers.sh"
##? setup java
##? setup java --version=17

source "${CLI_DIR}/core/helpers.sh"
parse_help "$@"
declare version

Expand Down
3 changes: 1 addition & 2 deletions commands/setup/update.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#!/usr/bin/env bash
set -euo pipefail

source "${CLI_DIR}/core/helpers.sh"

##? Update Homebrew and conda packages.
##?
##? Usage:
Expand All @@ -17,6 +15,7 @@ source "${CLI_DIR}/core/helpers.sh"
##? setup update --conda
##? setup update --brew --conda

source "${CLI_DIR}/core/helpers.sh"
parse_help "$@"
declare brew conda

Expand Down
Loading