tensorflow / tensorflow/tensorboard

Add shell completion

Open
#5,886 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

type:feature
Dominant language
TypeScript
Stars
7.2k
Forks
1.7k
Avg merge
4d 22h
Merged PRs (30d)
1

Description

How about adding shell completion for bash/zsh/fish/posh/etc?

❯ tensorboard --<Tab>
option
--bind_all                              Serve on all public interfaces. This will expose your TensorBoard instance to the network on both IPv4 and IPv6 (where available). Mutually exclusive with `--host`.
--db                                    (experimental) sets SQL database URI and enables DB backend mode, which is read-only unless --db_import is also passed.
--db_import                             (experimental) enables DB read-and-import mode, which in combination with --logdir imports event files into a DB backend on the fly. The backing DB is temporary unless --db is also passed to specify a DB path to use.
--detect_file_replacement               BOOL
...

Thanks!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue does not name files, tests, or an existing completion entry point. Start by locating TensorBoard's CLI option definitions and checking how bash, zsh, fish, and PowerShell completion are supported; done means the documented shells complete the available options and remain consistent with the CLI.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.