Update setup_fabric.sh to install dependencies if not present#9
Merged
Conversation
added 4 commits
February 10, 2026 10:54
… 1Password gracefully - Updated check_dependencies function to actually install missing dependencies using ensure_command - Enhanced create_config function to handle 1Password dependency more gracefully: * Check if 1Password CLI is installed and user is signed in * Gracefully fall back when 1Password is not configured * Provide helpful logging messages to guide users on enabling YouTube integration * Make YouTube API key optional in config file - Dependencies now properly installed: op (1password-cli), ffmpeg, yt-dlp, curl
…ut 1Password - Added interactive prompt for users to manually enter YouTube API key - Improved messaging and instructions for enabling YouTube integration - Allow users to skip YouTube integration entirely if they prefer - Provide clear information on how to enable YouTube integration later - Maintains backward compatibility with existing 1Password integration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR updates the setup_fabric.sh script to automatically install missing dependencies before proceeding with the Fabric installation. Previously, the script would only check for dependencies and exit with an error if any were missing. Now it leverages the ensure_command function from dependencies.sh to install any missing dependencies.
Changes Made
Benefits