mirror of
https://github.com/asciinema/asciinema.git
synced 2026-04-26 00:15:56 +03:00
[PR #523] [CLOSED] Add shell completions by shtab #1111
Labels
No labels
bug
compatibility
feature request
fit for beginners
help wanted
hosting
idea
improvement
packaging
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asciinema#1111
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/asciinema/asciinema/pull/523
Author: @Freed-Wu
Created: 9/17/2022
Status: ❌ Closed
Base:
main← Head:develop📝 Commits (1)
a4bfe0fAdd shell completions by shtab📊 Changes
3 files changed (+37 additions, -6 deletions)
View changed files
📝
asciinema/__main__.py(+19 -6)➕
asciinema/_shtab.py(+14 -0)📝
setup.cfg(+4 -0)📄 Description
It should can replace
https://github.com/zsh-users/zsh/blob/master/Completion/Unix/Command/_asciinema.
Because this PR is generated from argparse automatically. But the latter is
written manually.
I use some
type:ignore. It is not elegant. Does any better method exist?🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.