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: ability to easily switch between different metadata and config #943

Open
barchetta opened this issue Jun 27, 2023 · 1 comment
Open
Labels
cli enhancement New feature or request
Milestone

Comments

@barchetta
Copy link
Member

Currently the CLI provides the --url option to select different meta-data to run against. A common example of this is to test the archetypes generated in the Helidon build which you do using:

--reset --url file://${HELIDON_WS}/archetypes/helidon/target/cli-data

In order to support other uses of the CLI we should consider making this capability more user friendly. The scenario is this:

I have a team that is using Helidon. I want to provide a zip of a development environment for the team. In the zip I want to include the Helidon CLI and some archetypes used by the CLI that are specific to my team. When I unzip the zip in the filesystem and run the CLI contained in it I want it to pick up the archetypes defined in the filesystem. I also want to version these archetypes based on my version, and not the Helidon version.

This requires the following enhancements:

  1. A new concept similar to a git "remote". This is an enhancement to the --url option wheret here is a name and a URL.
  2. The ability to manage remotes in the CLI configuration, so I can define a new remote and specify the default remote
  3. The ability to tier the CLI configuration and add the concept of the installed configuration, so that the cli knows to look for configuration in the installation directory
  4. Don't assume the archetype version and the Helidon version are the same (not sure if we do or not)
@barchetta barchetta added enhancement New feature or request cli labels Jun 27, 2023
@romain-grecourt romain-grecourt modified the milestones: 3.0.6, 3.0.7 Jun 29, 2023
@romain-grecourt
Copy link
Contributor

See also #408

@romain-grecourt romain-grecourt modified the milestones: 4.0.0, 4.0.1, 4.0.2 Oct 23, 2023
@romain-grecourt romain-grecourt modified the milestones: 4.0.2, 4.0.3 Nov 15, 2023
@romain-grecourt romain-grecourt modified the milestones: 4.0.3, 4.0.5, 4.0.6 Jan 9, 2024
@romain-grecourt romain-grecourt modified the milestones: 4.0.6, 4.0.7 Mar 12, 2024
@romain-grecourt romain-grecourt modified the milestones: 4.0.7, 4.0.8, 4.0.10 Jul 30, 2024
@romain-grecourt romain-grecourt modified the milestones: 4.0.10, 4.0.11, 4.0.12 Aug 19, 2024
@romain-grecourt romain-grecourt modified the milestones: 4.0.12, 4.0.13, 4.0.14 Oct 2, 2024
@romain-grecourt romain-grecourt modified the milestones: 4.0.14, 4.0.15 Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants