254 Commits (main)

Author SHA1 Message Date
Dan Buch a05e4d0982
Remove App.Compiled
2 years ago
Naveen Gogineni 13cc7677ab Add SkipFlagParsing to app
2 years ago
Naveen Gogineni fb3a9cebb4 FIx: Allow ext flags to be opt-out by default rather than opt-in
2 years ago
dearchap ae8d932413
Feature:(issue_269) Allow external package flag definitions (#1540)
2 years ago
GuangyuFan 63cb372cce
Feature: (issue_1451) customized slice flag separator (#1546)
2 years ago
Naveen Gogineni bb8ddda480 Cleanup: Fix app.go formatting
2 years ago
dearchap 33d08c39be
Update app.go
2 years ago
Naveen Gogineni 00afca42c8 Add RunAsSubcommand to keep API unchanged
2 years ago
Naveen Gogineni 4a109bc0ce Fix tests
2 years ago
Naveen Gogineni a9d6b0d821 Changes from code review
2 years ago
Naveen Gogineni 59095aa762 make cmd.Run use varargs
2 years ago
Naveen Gogineni 2047c6630c Cleanup
2 years ago
Naveen Gogineni bc9ae33465 Merge latest and fix tests
2 years ago
Naveen Gogineni d5947d7814 Initial cut
2 years ago
Naveen Gogineni 8227be1fe9 Add tests for command.VisibleFlagCategory
2 years ago
Wendell Sun 619958c3d2
Add ActionableFlag interface instead of modifying Flag interface directly
2 years ago
Wendell Sun 14366f7030
feat: flag action
2 years ago
Naveen Gogineni 8339b59554 Fix: Help name consistency among app/commands and subcommands
2 years ago
Ilia Choly ca9df40abd
Add App.InvalidFlagAccessHandler (#1446)
2 years ago
Naveen Gogineni 57a8423422 Fix:(issue_1094) Dont execute Before/After handlers during shell completion
2 years ago
dearchap e3ee4fb3ef
Merge pull request #1444 from Dokiys/fix/add_after_before_help_check
2 years ago
Dokiy 1a1b9cd563 Fix HideHelp
2 years ago
Dokiy a1c26d5491 Fix After not run
2 years ago
James Alavosus 77feee843d
Implement slightly wonky setup for checking against ...
2 years ago
James Alavosus 32dec1ddaa
feature: add DefaultCommand field to App
2 years ago
Dan Buch 9de0cd3c4a
Merge pull request #1396 from urfave/suggestion-pluggability
2 years ago
Dan Buch a78717f4f9
Merge remote-tracking branch 'origin/main' into michaeljs1990-add-flag-category-support
2 years ago
Dan Buch 5bb9f453dc
Also make the did-you-mean template pluggable
2 years ago
Dan Buch 68bd4903fd
Introduce override hooks for suggestions
2 years ago
Dan Buch 63b1a7deee
A few follow-up conflict resolutions
2 years ago
Dan Buch 3d67b75be7
Merge branch 'suggestions' of ssh://github.com/saschagrunert/cli into saschagrunert-suggestions
2 years ago
Dan Buch 16d5d5a3df
Some changes per feedback in #1368
2 years ago
Dan Buch 156eaafb22
Rework flag categories a bit
2 years ago
Dan Buch a583a102fd
Merge remote-tracking branch 'origin/main' into michaeljs1990-add-flag-category-support
2 years ago
Dan Buch 9ce946162f
Unshadow `context` package
2 years ago
Dan Buch e4580f0c50
Extend flag categorization to top-level (global) flags
2 years ago
Dan Buch 75e4ee69e9
Porting remainder of #796
2 years ago
Dan Buch 44958693a1
Merge branch 'add-flag-category-support' of ssh://github.com/michaeljs1990/cli into michaeljs1990-add-flag-category-support
2 years ago
Dan Buch 7c50be3d7c
Switch branch references from `master` to `main`
2 years ago
Dan Buch 4b238b8ff0
Merge branch 'master' into suggestions
2 years ago
Naveen Gogineni 07e1fdf17d Cleanup context.go
3 years ago
Wlad Gumenyuk 57d60cd570
Fix: typo
3 years ago
Alexander Frolov e40b83a394
use Name as default to HelpName
4 years ago
Robert Liebowitz 30bb6982f2
Merge pull request #1191 from stellirin/master
4 years ago
Charles Kenney e5407cccf7
fix grammatical error
4 years ago
Adam Farden 342ce5d654 feature: Add a App.Reader that defaults to os.Stdin
4 years ago
Aloïs Micard 33744eb004
Harmonize BeforeError handling
4 years ago
Sebastian Malton fed64f3ad7 add tests
4 years ago
Sebastian Malton 22b6dbaad3 Set App.ErrWriter in App.Setup()
4 years ago
Robert Liebowitz 959cf9de8a Update docs and tests around cli.Exit
4 years ago