Repository navigation
♻️ Set Component Library Install to Run on Terminal - #375
Merged
Merged
Conversation
Member
…Traverse upwards to find the Xircuits working directory (.xircuits + xai_components) - Automatically switch to the working directory before executing commands
Member
Author
|
You're right, I've been using Git Bash which is more linux-like with the pathing. Upon further investigation, the current install is already broken in powershell. I've updated the current xircuits to traverse the parents as discussed, with other things mentioned in the PR. |
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.

Description
This PR:
xircuits install libraryNamecommand for installation (now case-insensitive)..xircuitsandxai_components) and switches to it before executing the command.XIRCUITS_INITenvironment variable is set or prompts the user to initialize in the current directory.install.success.mp4
References
#281
#297
Pull Request Type
Type of Change
Tests
xircuits install libraryName) in a directory without the working directory present and confirm that the CLI prompts or auto-initializes as designed.Tested on?
Notes
Powershell users might experience errors. Will explore it further in next PRs.