Skip to content

Conversation

@i99dev
Copy link
Owner

@i99dev i99dev commented Jun 12, 2025

Summary

  • add options to skip individual install or symlink steps
  • show help message describing new flags
  • document the new --help output in README
  • keep script executable

Testing

  • bash -n be_free.sh
  • bash be_free.sh --help | head

https://chatgpt.com/codex/tasks/task_e_684b1cba4630833191932341d55093fe

@github-actions
Copy link

sh-checker report

To get the full details, please check in the job output.

shellcheck errors

'shellcheck -e SC1004' returned error 1 finding the following syntactical issues:

----------

In be_free.sh line 87:
    curl -L https://code.visualstudio.com/sha/download?build=stable&os=darwin-universal -o /tmp/vscode.zip
                                                                   ^-- SC1132 (warning): This & terminates the command. Escape it or add space after & to silence.
                                                                    ^-- SC2037 (error): To assign the output of a command, use var=$(cmd) .

For more information:
  https://www.shellcheck.net/wiki/SC2037 -- To assign the output of a command...
  https://www.shellcheck.net/wiki/SC1132 -- This & terminates the command. Es...
----------

You can address the above issues in one of three ways:
1. Manually correct the issue in the offending shell script;
2. Disable specific issues by adding the comment:
  # shellcheck disable=NNNN
above the line that contains the issue, where NNNN is the error code;
3. Add '-e NNNN' to the SHELLCHECK_OPTS setting in your .yml action file.



shfmt errors
shfmt checking is disabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants