apple / apple/swift-argument-parser

Add possibility to customize the completion script

Open
#343 6 comments 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
Swift
Stars
3.8k
Forks
411
Avg merge
7d 14h
Merged PRs (30d)
15

Description

Currently the completion script is auto-generated from ArgumentParser and cannot be modified.
In some (rare) projects this auto-generated completion script can be unadapted. We should be able to customize it to our particular needs.

Contributor guide

Open the contributing guide

Research direction

Start by reading how ArgumentParser currently generates the completion script and identify where customization would need to enter the process. Define the intended customization mechanism and its boundaries for projects whose generated script is unsuitable, then verify that the resulting completion output can still be generated and used.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.