Skip to content

feat: adding Quarkus //Q:CONFIG like arbitrary config - #2665

Open
ahmedmohiduet wants to merge 3 commits into
jbangdev:mainfrom
ahmedmohiduet:main
Open

ahmedmohiduet wants to merge 3 commits into
jbangdev:mainfrom
ahmedmohiduet:main

Conversation

@ahmedmohiduet

@ahmedmohiduet ahmedmohiduet commented Sep 24, 2026 •

Copy link
Copy Markdown

Adding new directive CONF for quarkus //Q:CONFIG like arbitrary config options within depedencies, will now support:

///usr/bin/env jbang "$0" "$@" ; exit $?
//DEPS org.springframework.boot:spring-boot-starter:3.3.4
//JAVA 17+
//CONF logging.level.root=INFO
//CONF logging.file.name=app.log
//CONF logging.logback.rollingpolicy.max-file-size=2MB
//CONF logging.console.enabled=false

package demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

@SpringBootApplication
public class hello {

    private static final Logger log = LoggerFactory.getLogger(hello.class);

    public static void main(String[] args) {
        ConfigurableApplicationContext ctx = SpringApplication.run(hello.class, args);
        log.info("Hello from Spring Boot via jbang!");
        ctx.close();
    }
}

@coderabbitai

coderabbitai Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one) (1)
  • ai-review

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 869a9e72-fb63-4000-8646-2514db1c2a70

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@ahmedmohiduet ahmedmohiduet changed the title adding Quarkus //Q:CONFIG like arbitrary config feat: adding Quarkus //Q:CONFIG like arbitrary config Sep 26, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants