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

Cleanup version, about & doctor sub-commands #1744

Merged
merged 4 commits into from
Jan 4, 2023

Conversation

Gedochao
Copy link
Contributor

@Gedochao Gedochao commented Jan 3, 2023

Fixes #1665
Fixes #1667
Closes #698

in accordance with #1665 (comment), this does the following:

  • the doctor sub-command is being removed, its present and previously planned functionalities should be delivered in a more interactive manner
  • the about sub-command is being removed, its functionalities merged into version
    • version will now check if Scala CLI is up-to-date (similarly how it was previously done in about)
    • the --offline option was added to version to allow to skip checking if Scala CLI is up-to-date
    • the --scala-version and --cli-version options similarly skip checking if Scala CLI is up-to-date, outputting just the raw version requested

@Gedochao Gedochao added the SIP-46 All the issues related to SIP-46 to turn Scala CLI into the official scala runner command. label Jan 3, 2023
@Gedochao Gedochao force-pushed the version-about-doctor-cleanup branch 3 times, most recently from 3a9a9b4 to c1dcbc1 Compare January 4, 2023 08:05
@Gedochao Gedochao force-pushed the version-about-doctor-cleanup branch from 14a5137 to 239394d Compare January 4, 2023 09:24
@Gedochao Gedochao marked this pull request as ready for review January 4, 2023 12:21
@Gedochao Gedochao merged commit 1e259df into VirtusLab:main Jan 4, 2023
@Gedochao Gedochao deleted the version-about-doctor-cleanup branch January 4, 2023 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
SIP-46 All the issues related to SIP-46 to turn Scala CLI into the official scala runner command.
Projects
None yet
2 participants