Skip to content

Conversation

sigoden
Copy link
Owner

@sigoden sigoden commented May 19, 2023

# @cmd
cmd() {
    ( set -o posix ; set ) | grep argc_
}

run prog cmd -a -b

argc__args=([0]="-a" [1]="-b")
argc__fn=cmd

@sigoden sigoden merged commit 08fb4ce into main May 19, 2023
@sigoden sigoden deleted the feat-export-vars branch May 19, 2023 03:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant