Codync
무료 오픈소스 1:1 대안, Grok Bot과 Muse 대신
Go로 명령줄 도구를 만들기 위한 선언적이고 간단하며 빠르고 재미있는 패키지
A declarative, simple, fast, and fun package for building command line tools in Go
개발 도구Go · MakefileGitHub @urfave직접 설치운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
메이커가 쓴 소개는 위의 한 줄이 전부입니다. 더 자세한 내용은 저장소 README에서 읽을 수 있습니다. 저장소 README ↗
README 전체를 불러오는 중입니다.
README 전문 보기 ↗urfave/cli is a declarative, simple, fast, and fun package for building command line tools in Go featuring:
bash, zsh, fish, and powershell-a -b -c can be shortened to -abc)man and Markdown (supported via the
urfave/cli-docs module)urfave/cli-altsrc module)See the hosted documentation website at https://cli.urfave.org. Contents of
this website are built from the ./docs directory.
You can use the following build tags:
urfave_cli_no_templateWhen set, the default help and fish completion are rendered without using
text/template, which makes the Go linker disable dead code elimination (see
Binary Size).
The output is the same, but help templates can not be customized:
RootCommandHelpTemplate, CommandHelpTemplate, SubcommandHelpTemplate
and FishCompletionTemplate are constants;CustomRootCommandHelpTemplate or CustomHelpTemplate), it panics;wrap and wrapAt are ignored.Replacing cli.HelpPrinter works as usual, except it receives "root",
"command" or "subcommand" as templ instead of the default template text
(a custom template is passed as is).
Check the Q&A discussions. If you don't find answer to your question, create a new discussion.
If you found a bug or have a feature request, create a new issue.
Please keep in mind that this project is run by unpaid volunteers.
See LICENSE.