Description
Proposed Change
Rename and re-reference the Cousier CLI from coursier
to cs
.
Motivation
For some time now the Coursier CLI is named cs
instead of coursier
. However in both the Bloop documentation as well as the code it is still named/referenced as coursier
. I think this should be adjusted for two reasons:
1. Documentation Alignment
The change should be made to make the documentation of Bloop and Coursier more aligned and not cause confusion. This point is purely about changes to the Bloop documentation (replacing coursier
with cs
).
2. Make Bloop Functionalities Work By Default
The change should be made to make at least one functionality of Bloop actually work with recent default installations of Coursier. The functionality I am referring to here is bloop console <some-project>
. The part of the source-code of Bloop that makes this happen is still assuming to find a CLI named coursier
and not cs
somewhere on the path which will not find anything if Coursier is installed in the recommended and documentation way.
Possible Solutions
Below I want to provide some points on possible changes that could be performed. These points are not all exclusive but can be combined. I would recommend doing point 2 combined with either one of 3 to 5.
- Don't do anything because Scala 3 will do things differently anyway or Bloop functionality will be integrated into SBT or whatever (I am not aware of any of this so if someone knows more than me please let me know)
- Rename all mentions of
coursier
tocs
in the documentation - Re-Reference
coursier
tocs
in the Bloop source forbloop console
(and any other references I did not find) - Do what is written in point 3 but do it such that both are still possible and one is default and one the fallback
- Re-Write the functionality of
bloop console
such that it makes use of the Coursier library instead of relying on an external CLI (I do not know if this is possible or desirable though)
Final Words
If some maintainer could give some feedback on this I would be happy to take a stab at it. I just need to know which direction it should be. Thanks!