Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[Feature Request] List available targets from bundle config

Aperta
#6,505 3 commenti 1 reazione 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@andrewnester ci sta già lavorando.

Dal 17/9/2026.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
68/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
go
Ambito
cli

Direzione di ricerca

Inizia leggendo i sottocomandi esistenti di databricks bundle ed eseguili su un bundle contenente i target dev, feature, staging e prod. Individua il punto di ingresso del comando e i pattern esistenti per l'output in formato tabella/JSON. Il lavoro è completo quando un sottocomando per elencare i target legge il databricks.yml corrente e riporta ogni target, il relativo stato predefinito e il workspace, con un output equivalente tramite -o json.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

DABs Enhancement

Feature Request

Summary

Add a databricks bundle targets (or databricks bundle list-targets) subcommand that prints the targets defined in the current bundle's databricks.yml.

Motivation

Bundles often define multiple targets (e.g. dev, feature, staging, prod). Currently there is no way to
introspect which targets are available without manually opening databricks.yml. This is a friction point for:

  • CI/CD pipelines that want to enumerate valid --target values dynamically
  • Developers onboarding to a new bundle who want to discover available targets
  • Tooling/scripts that wrap databricks bundle deploy
Proposed Behaviour
$ databricks bundle targets                                                                                           
NAME       DEFAULT  WORKSPACE                                                                                         
dev        true     https://dbc-xxxxxxxx-1234.cloud.databricks.com                                                    
feature    false    https://dbc-yyyyyyyy-1234.cloud.databricks.com                                                    
prod       false    https://adb-123456789.azuredatabricks.net                                                         

JSON output via -o json should also be supported, consistent with existing commands.

Lingua principale
Go
Stelle
404
Fork
246
Merge medio
1g 15h
PR unite (30g)
286

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di databricks/cli

Tutte le issue di databricks/cli

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.