-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#737: Added cd command to shell commandlet #748
#737: Added cd command to shell commandlet #748
Conversation
Added the command cd to the shell commandlet that allows the user to switch the directory inside the ide shell
Pull Request Test Coverage Report for Build 12085518140Details
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for implementing the cd command to our Shell. I've added some CRs, please resolve.
cli/src/main/java/com/devonfw/tools/ide/commandlet/ShellCommandlet.java
Outdated
Show resolved
Hide resolved
cli/src/main/java/com/devonfw/tools/ide/commandlet/ShellCommandlet.java
Outdated
Show resolved
Hide resolved
cli/src/main/java/com/devonfw/tools/ide/commandlet/ShellCommandlet.java
Outdated
Show resolved
Hide resolved
…dlet.java Co-authored-by: jan-vcapgemini <[email protected]>
…dlet.java Co-authored-by: jan-vcapgemini <[email protected]>
added current working directory path to prompt name improved existing directory check adjusted exit codes
removed whitespace from ide prompt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, LGTM. Ready for review.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@leonrohne27 thanks for your PR. This is nice work and you digged to find the right code locations to implement the story. 👍
I left 2 simple review comments. If you have the time left to address them this would be lovely and we can then merge. Thanks!
cli/src/main/java/com/devonfw/tools/ide/commandlet/ShellCommandlet.java
Outdated
Show resolved
Hide resolved
cli/src/main/java/com/devonfw/tools/ide/commandlet/ShellCommandlet.java
Outdated
Show resolved
Hide resolved
Cd without arguments now brings the user to the home path, changed the prompt String
cli/src/main/java/com/devonfw/tools/ide/commandlet/ShellCommandlet.java
Outdated
Show resolved
Hide resolved
…dlet.java Co-authored-by: Jörg Hohwiller <[email protected]>
Fixes: #737
Implements: