Skip to content
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

Create status commandlet #758

Closed
3 tasks
hohwille opened this issue Nov 13, 2024 · 0 comments · Fixed by #770 or #816
Closed
3 tasks

Create status commandlet #758

hohwille opened this issue Nov 13, 2024 · 0 comments · Fixed by #770 or #816
Assignees
Labels
enhancement New feature or request logging settings ide-settings repo and replated processes and features

Comments

@hohwille
Copy link
Member

As a IDEasy user, I want to have a simple command so that I can quickly see outstanding notifications and warnings.

Currently we log such notifications and warnings on the fly while processing arbitrary commandlets.
However, there are also some commandlets that are considered to produce "processable output" that need to suppress such output.

Question: What commandelt should the end-user invoke in order to see if there are updates to settings or there are warnings for his configuration?
Answer: There is currently no clean answer this this question. You may call ide help and get the output on top of the help but need to scroll up in order to find it. You may call ide -v or ide or ide get-version java and notice that all of these have processable output and suppress the information. You might get the output if you add --debug option but then you also get lots of debug output. So you might call ide install java or something but just to get such information you do not want to invoke something like an installation.

So in other words:

  • We need a StatusCommandlet that can be called via ide status to get only such status information without applying any changes.
  • I also propose that just typing ide should invoke ideasy status if we are inside an IDEasy project.
  • Whenever I call this StatusCommandlet it will print me all warnings about my settings (e.g. duplicated or legacy variables) as well as potential information about updates to settings I should apply with ide update.
@hohwille hohwille added the enhancement New feature or request label Nov 13, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New in IDEasy board Nov 13, 2024
@hohwille hohwille added logging settings ide-settings repo and replated processes and features labels Nov 13, 2024
@leonrohne27 leonrohne27 self-assigned this Nov 14, 2024
@leonrohne27 leonrohne27 moved this from 🆕 New to 🏗 In progress in IDEasy board Nov 14, 2024
leonrohne27 added a commit to leonrohne27/IDEasy that referenced this issue Nov 15, 2024
Added a status commandlet that lets the user check his ide status
leonrohne27 added a commit to leonrohne27/IDEasy that referenced this issue Nov 15, 2024
leonrohne27 added a commit to leonrohne27/IDEasy that referenced this issue Nov 15, 2024
leonrohne27 added a commit to leonrohne27/IDEasy that referenced this issue Nov 15, 2024
leonrohne27 added a commit to leonrohne27/IDEasy that referenced this issue Nov 15, 2024
leonrohne27 added a commit to leonrohne27/IDEasy that referenced this issue Nov 18, 2024
leonrohne27 added a commit to leonrohne27/IDEasy that referenced this issue Nov 18, 2024
added missing Javadoc to StatusCommandlet and updated help output
@hohwille hohwille added this to the release:2024.12.001 milestone Nov 25, 2024
hohwille pushed a commit that referenced this issue Nov 26, 2024
@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in IDEasy board Nov 26, 2024
hohwille added a commit that referenced this issue Nov 26, 2024
hohwille added a commit to hohwille/IDEasy that referenced this issue Nov 28, 2024
hohwille added a commit to hohwille/IDEasy that referenced this issue Nov 28, 2024
hohwille added a commit to hohwille/IDEasy that referenced this issue Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request logging settings ide-settings repo and replated processes and features
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

2 participants