Add option to output autocomplete into stdout

オープン
#1,136 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
半日
初心者へのやさしさ
55/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
fish, python
領域
cli

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Python
スター
638
フォーク
138
平均マージ
8時間 27分
マージ済み PR(30日)
8

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Backblaze/B2_Command_Line_Tool のほかの issue

Backblaze/B2_Command_Line_Tool の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。