Add option to output autocomplete into stdout

Abierto
#1,136 0 comentarios 1 reacción 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
Medio día
Aptitud para principiantes
55/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Estancado
Stack tecnológico
fish, python
Área
cli

Línea de trabajo

The request centres on the existing b2 install-autocomplete command, which writes completion scripts into the user's shell config. Find where that command is implemented and how it selects the fish shell. The goal is a --stdout flag, or a completion <shell> subcommand, that prints the same script to stdout without touching any files. Done when the output can be piped into a fish completions directory and the existing install behaviour is unchanged.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

enhancement

I do not like when third party tools edit my configuration files. I would love to have something like:

$ b2 install-autocomplete --shell fish --stdout
# or
$ b2 completion fish

Similar to other tools, such as:

$ docker completion fish
$ mise completion fish
$ pnpm completion fish

Thank you.

Lenguaje dominante
Python
Estrellas
638
Forks
138
Merge medio
8 h 27 min
PR fusionados (30 d)
8

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Backblaze/B2_Command_Line_Tool

Todos los issues de Backblaze/B2_Command_Line_Tool

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.