Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add func to get context parent - #245

#245
Merged
jszwedko merged 1 commit into
urfave:masterurfave/cli:masterfrom
cpuguy83:get_parent_ctxCopy head branch name to clipboard
Jun 20, 2015
Merged

Add func to get context parent#245
jszwedko merged 1 commit into
urfave:masterurfave/cli:masterfrom
cpuguy83:get_parent_ctxCopy head branch name to clipboard

Conversation

@cpuguy83

Copy link
Copy Markdown
Contributor

Need this for being able to show correct help output for subcommands.
Ie, instead of just {{.Name}} - {{.Usage}} we need to be able to do {{.Parent.Name}} {{.Name}} - {{.Usage}}

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
@jszwedko

Copy link
Copy Markdown
Contributor

👍 thanks @cpuguy83

jszwedko added a commit that referenced this pull request Jun 20, 2015
Add func to get context parent
@jszwedko
jszwedko merged commit ad48024 into urfave:master Jun 20, 2015
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.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.