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

CLI: Missing documentation for the new command line tool #18064

Closed
Sgitario opened this issue Jun 22, 2021 · 9 comments
Closed

CLI: Missing documentation for the new command line tool #18064

Sgitario opened this issue Jun 22, 2021 · 9 comments
Assignees
Labels
area/cli Related to quarkus cli (not maven/gradle/etc.) kind/enhancement New feature or request

Comments

@Sgitario
Copy link
Contributor

Sgitario commented Jun 22, 2021

Description

  • For extensions list options: Note the different among --concise, --origins, --full. Or when to use --installable: for example, I tried to run it from an existing Quarkus application path and outside, and the output was the same.
  • What --registry-client stands for?
  • What is quarkus extensions list --stream for? What is the difference between --stream and --platform-bom? Why --stream requires --registry-client?

Moreover, I think the existing functionality for getting the list of extensions is not very user friendly as it behaves differently depending to where is invoked, but I've also reported this #18062 issue for tracking this.

@Sgitario Sgitario added the kind/enhancement New feature or request label Jun 22, 2021
@Sgitario
Copy link
Contributor Author

cc @maxandersen @ebullient

@Sgitario Sgitario changed the title CLI: Missing documentation for extensions list options CLI: Missing documentation for the new command line tool Jun 22, 2021
@ebullient
Copy link
Member

ebullient commented Jun 22, 2021

stream/registry-client docs are coming soon.

Allowing list extensions to be used with an explicit platform is new (so you can list extensions before you create a project, e.g.). I will double check output, but the language should be clear when it is listing extensions for the project you are in, vs. when you are listing extensions for an arbitrary release.

I will check through the docs today.

@ebullient ebullient self-assigned this Jun 22, 2021
@ebullient ebullient added the area/cli Related to quarkus cli (not maven/gradle/etc.) label Jun 22, 2021
@ebullient
Copy link
Member

I have a partial update in #18086

It adds a section to the cli docs about specifying the version using a platform or a stream, and a note that --stream needs the --registry-client option for now.

It also adds some additional help text to extension list to clarify a project vs. release mode, in terms of which extensions are listed and why.

@Sgitario
Copy link
Contributor Author

Sgitario commented Aug 4, 2021

I have a partial update in #18086

It adds a section to the cli docs about specifying the version using a platform or a stream, and a note that --stream needs the --registry-client option for now.

It also adds some additional help text to extension list to clarify a project vs. release mode, in terms of which extensions are listed and why.

Hello @ebullient , still I can't find how to use the --stream option and unless I'm missing something, the new changes in the documentation does not clarify it. The documentation only mentions platformKey:streamId and I'm unfamiliar with what it states.

Note that I tried quarkus extension list -S io.quarkus.platform:quarkus-bom:2.1.0.Final and it returns: [ERROR] ❗ Unable to list extensions: Failed to locate stream quarkus-bom:2.1.0.Final in platform io.quarkus.platform

@ebullient
Copy link
Member

ebullient commented Aug 4, 2021

Hello @ebullient , still I can't find how to use the --stream option and unless I'm missing something, the new changes in the documentation does not clarify it. The documentation only mentions platformKey:streamId and I'm unfamiliar with what it states.

Noted. Does this help: https://quarkus.io/blog/quarkus-2x-platform-quarkiverse-registry/
Also.. please be clear now about which CLI version you're using.. default behaviors have changed with 2.1 final..

@Sgitario
Copy link
Contributor Author

Sgitario commented Aug 5, 2021

Hello @ebullient , still I can't find how to use the --stream option and unless I'm missing something, the new changes in the documentation does not clarify it. The documentation only mentions platformKey:streamId and I'm unfamiliar with what it states.

Noted. Does this help: https://quarkus.io/blog/quarkus-2x-platform-quarkiverse-registry/
Also.. please be clear now about which CLI version you're using.. default behaviors have changed with 2.1 final..

It did help! Thanks a lot @ebullient
I also had questions about how to use extensions from multiple boms and the post also explains that. I guess this is only supported for extensions from the Quarkus ecosystem, right? (We can't add Bom dependencies from others).

@ebullient
Copy link
Member

Great! I'll work on figuring out how to pull that blog post into docs.

We should eventually be able to support the addition of additional registries, which would help resolve extensions from other places, but there are other issues for that.

@quarkus-bot
Copy link

quarkus-bot bot commented Aug 5, 2021

/cc @gsmet, @maxandersen

@maxandersen
Copy link
Member

cli is documented now afaik. open new if specifics missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli Related to quarkus cli (not maven/gradle/etc.) kind/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants