hzDocs
hzDocs
Articles / Postshedzr.com

cmdr series

Introduction

Guide

Your First CLI AppConcise Version
Step by step
Concepts
CommandCommand: Invoke programCommand: Presetting ArgsCommand: RedirectToCommand: DynCommandCommand: Aliases from ConfigCommand: Event HandlersFlagFlag: RequiredFlag: Toggle GroupFlag: Valid ArgsFlag: `Head -1` styleFlag: External EditorFlag: NegatableFlag: Leading Plus Sign `+`Flag: Event Handlers解析结果Builtin Commands & Flags帮助子系统Shared App辨析Package level functionsWithOptsBackstage
Howto ...
Auto-close the ClosersRead config into structUsing is DetectorsUsing Store

References

What's New
Packages

Others

Examples
Blueprint
产品发布
产品发布之前
介绍 cmdr-cxx

Guide

cmdr supports

Intro

Guide

More features

References

Others

evendeep(-go)

Guide

Usagesdeepcopydeepdiffdeepequal
logg/slog(-go)

Guide

Guide

others

DocumentationComponents
trie-cxx

Guide

Guide

links

On Github

Documentation

About cmdr

Documentation

Here is a Documentation Site about the Open Source Projects of mine.

What is Next?

Golang Libraries

Cmdr(-go) v2 Documentation

Store Manual (Go)

About cmdr

cmdr is a command-line parser, app framework, and integrated with app settings management and config source loaders optionally.

cmdr helps to focus your sight into the bussiness logic developments.

We have cmdr-series in serveral different languages, including C++, Golang, and C#, and so on. All the versions have a unify API for developers and end-users.

Store

Store has been integrated into cmdr to provide configuration management abilities.

In another angle, Store is also providing a general purpose key-value storage in memory. So using it for Cache, Redis-like, or httprouter parser are both possible.

Store provides auto-reset a key in timeout (TTL).

Store provides the matching on /[id]/ routes and returning the matched state.

progressbar

progressbar is a terminal progressbar library in golang.

The original intent of progressbar is for covering a python install like progressbar. It's done. And after several iterations it evoluates a riched-theme progressbar library which can provide more facades in console ui. It includes Stepper and Spinner now.

progress also provides more friendly api to support for coding the multi-routines tasks.

C++ Libraries

fsm-cxx

fsm-cxx is a experimental finite-state machine library in c++17 or higher.

undo-cxx

undo-cxx

trie-cxx

trie-cxx

cmdr-cxx

cmdr-cxx

Others

VSCode Extensions

Go Main Runner

Basically, Go Main Runner just do one thing at: run a main() function in golang inplace without mouse motion or keyboard typings.

Zig Main runner

Zig Main Runner is for running main() in zig project.

NextJS/React Libraries

cmdr-docs-dev

cmdr-docs-dev is the source repo about this docsite.

It built with NextJS + Fumadocs + Tailwind.

Shell Frameworks

bash.sh

bash.sh is a single-main-file shell script developing framework.

more

More.

What is Next?

How is this guide?

Last updated on

Overview

hedzr/is detectors library

Components

Components

On this page

Documentation
What is Next?
Golang Libraries
About cmdr
Store
progressbar
C++ Libraries
fsm-cxx
undo-cxx
trie-cxx
cmdr-cxx
Others
VSCode Extensions
Go Main Runner
Zig Main runner
NextJS/React Libraries
cmdr-docs-dev
Shell Frameworks
bash.sh
more