Skip to content

Conversation

@NoahGorny
Copy link
Member

Resolves #1523

Lemme know what you think @nwinkler 😄

@NoahGorny
Copy link
Member Author

Ping @nwinkler

@NoahGorny NoahGorny force-pushed the update-silent-option branch from a2e504c to 83cdb40 Compare July 10, 2020 09:58
Copy link
Member

@nwinkler nwinkler left a comment

Choose a reason for hiding this comment

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

Sorry about the delay in reviewing your PRs, apologies! I've left some comments - can you please take a look?

lib/helpers.bash Outdated
return;;
update)
func=_bash-it_update;;
_bash-it_update $component "$@"
Copy link
Member

Choose a reason for hiding this comment

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

Why did you add the $component here? Is this really needed for the update scenario?

Copy link
Member Author

Choose a reason for hiding this comment

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

removed in the currrent version


declare silent
for word in $@; do
if [[ ${word} == "--silent" || ${word} == "-s" ]]; then
Copy link
Member

Choose a reason for hiding this comment

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

Please add documentation for the two new options to the README.md file in the Updating section.

Copy link
Member Author

Choose a reason for hiding this comment

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

done


declare silent
for word in $@; do
if [[ ${word} == "--silent" || ${word} == "-s" ]]; then
Copy link
Member

Choose a reason for hiding this comment

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

Should we also add the new --silent option to the bash-it.completion.bash file? The update command is not covered at the moment, since it did not have any options so far.

Copy link
Member Author

Choose a reason for hiding this comment

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

done

@NoahGorny
Copy link
Member Author

@nwinkler, I moved this PR to here
You can start by reviewing the moved PR or #1626

@NoahGorny NoahGorny closed this Jul 14, 2020
@NoahGorny NoahGorny deleted the update-silent-option branch October 27, 2020 18:09
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.

How do I set bash-it to update automatically and unattended?

2 participants