diff --git a/.github/workflows/release-bun-executable.yml b/.github/workflows/release-bun-executable.yml index a39cd48..ea0e5eb 100644 --- a/.github/workflows/release-bun-executable.yml +++ b/.github/workflows/release-bun-executable.yml @@ -8,6 +8,7 @@ permissions: pull-requests: write id-token: write pages: write + packages: write jobs: call-release-bun-executable: uses: flowscripter/.github/.github/workflows/release-bun-executable.yml@v1 diff --git a/demo.svg b/demo.svg index 376d508..c1351cd 100644 --- a/demo.svg +++ b/demo.svg @@ -1 +1,9112 @@ -nick@tarsexample-cli%nick@tarsexample-cli%.nick@tarsexample-cli%./nick@tarsexample-cli%./enick@tarsexample-cli%./exnick@tarsexample-cli%./exanick@tarsexample-cli%./examnick@tarsexample-cli%./exampnick@tarsexample-cli%./examplnick@tarsexample-cli%./examplenick@tarsexample-cli%./example-nick@tarsexample-cli%./example-cnick@tarsexample-cli%./example-clnick@tarsexample-cli%./example-cli________________________________|____|\\///\|\/||_\|||____|/___||||__||_|\//_\||\/||||_)||||_|_____||||||||___/\/___\|||||__/||___||___|_____|||___||___|||_____|/_/\_\/_/\_\|_||_||_||_____||_____|\____||_____||___|SimpleexampleCLIusingdynamic-cli-framework.version:1.0.0NocommandspecifiedTryrunning:example-cli--helpnick@tarsexample-cli%./example-cli-nick@tarsexample-cli%./example-cli--nick@tarsexample-cli%./example-cli--hnick@tarsexample-cli%./example-cli--henick@tarsexample-cli%./example-cli--helnick@tarsexample-cli%./example-cli--helpUsageexample-cli[<global_option>[<value>]]...<global_command>|<command>[<arg>[<value>]]GlobalOptions--dark-mode[true|false]Enabledarkmodeforoutput(default:false)--log-level<string_value>Settheloggingthreshold(validvalues:DEBUG|INFO|WARN|ERROR,default:INFO)--no-banner[true|false]Disableoutputofbanner(default:true)--no-color[true|false]Disablecolorforoutput(default:false)GlobalCommands--help[<string_value>]Displayapplicationhelp(stringvalue)--versionShowversioninformation-h[<string_value>]Displayapplicationhelp(stringvalue)-vShowversioninformationSub-Commandscommand1Demonstratesprinterservicefeaturescommand2DemonstratesargumentfeaturesandsyntaxhighlighterservicehelpDisplayapplicationhelpnick@tarsexample-cli%./example-cli--helpcommand1Commandcommand1Demonstratesprinterservicefeaturesexample-clicommand1nick@tarsexample-cli%./example-clicommand1Hello,World!ThisisaninfolevelmessageThisisawarnlevelmessageThisisanerrorlevelmessageFinishedwaitingWaiting3seconds:[--------------------------------------------------]0.00%,0/3sec,rate:-sec/s,timeremaining:-[================----------------------------------]33.33%,1/3sec,rate:1.00sec/s,timeremaining:2s_______/___|________||||_______||||_/_\/_\/_`||'_\||||/_\||||_|||(_)||(_)||(_||||_)|||_|||__/|_|\____|\___/\___/\__,_||_.__/\__,|\___|(_)|___/nick@tarsexample-cli%./example-cli--helpcnick@tarsexample-cli%./example-cli--helpconick@tarsexample-cli%./example-cli--helpcomnick@tarsexample-cli%./example-cli--helpcommnick@tarsexample-cli%./example-cli--helpcommanick@tarsexample-cli%./example-cli--helpcommannick@tarsexample-cli%./example-cli--helpcommandnick@tarsexample-cli%./example-clicnick@tarsexample-cli%./example-cliconick@tarsexample-cli%./example-clicomnick@tarsexample-cli%./example-clicommnick@tarsexample-cli%./example-clicommanick@tarsexample-cli%./example-clicommannick@tarsexample-cli%./example-clicommandWaiting3secondsWaiting3secondsWaiting3secondsWaiting3secondsWaiting3secondsWaiting3secondsWaiting3secondsWaiting3secondsWaiting3secondsWaiting2secondsWaiting2secondsWaiting2secondsWaiting2secondsWaiting2secondsWaiting2secondsWaiting2secondsWaiting2secondsWaiting2secondsWaiting2secondsWaiting1secondsWaiting1secondsWaiting1secondsWaiting1secondsWaiting1secondsWaiting1secondsWaiting1secondsWaiting1secondsWaiting1secondsWaiting1seconds[=================================-----------------]66.67%,2/3sec,rate:1.00sec/s,timeremaining:1s \ No newline at end of file + + + + + nick@tarsexample-cli%nick@tarsexample-cli%.nick@tarsexample-cli%./nick@tarsexample-cli%./enick@tarsexample-cli%./exnick@tarsexample-cli%./exanick@tarsexample-cli%./examnick@tarsexample-cli%./exampnick@tarsexample-cli%./examplnick@tarsexample-cli%./examplenick@tarsexample-cli%./example-nick@tarsexample-cli%./example-cnick@tarsexample-cli%./example-clnick@tarsexample-cli%./example-cli________________________________|____|\\///\|\/||_\|||____|/___||||__||_|\//_\||\/||||_)||||_|_____||||||||___/\/___\|||||__/||___||___|_____|||___||___|||_____|/_/\_\/_/\_\|_||_||_||_____||_____|\____||_____||___|SimpleexampleCLIusingdynamic-cli-framework.version:1.0.0NocommandspecifiedTryrunning:example-cli--helpnick@tarsexample-cli%./example-cli-nick@tarsexample-cli%./example-cli--nick@tarsexample-cli%./example-cli--hnick@tarsexample-cli%./example-cli--henick@tarsexample-cli%./example-cli--helnick@tarsexample-cli%./example-cli--helpUsageexample-cli[<global_option>[<value>]]...<global_command>|<command>[<arg>[<value>]]GlobalOptions--dark-mode[true|false]Enabledarkmodeforoutput(default:false)--log-level<string_value>Settheloggingthreshold(validvalues:DEBUG|INFO|WARN|ERROR,default:INFO)--no-banner[true|false]Disableoutputofbanner(default:true)--no-color[true|false]Disablecolorforoutput(default:false)GlobalCommands--help[<string_value>]Displayapplicationhelp(stringvalue)--versionShowversioninformation-h[<string_value>]Displayapplicationhelp(stringvalue)-vShowversioninformationSub-Commandscommand1Demonstratesprinterservicefeaturescommand2DemonstratesargumentfeaturesandsyntaxhighlighterservicehelpDisplayapplicationhelpnick@tarsexample-cli%./example-cli--helpcommand1Commandcommand1Demonstratesprinterservicefeaturesexample-clicommand1nick@tarsexample-cli%./example-clicommand1Hello,World!ThisisaninfolevelmessageThisisawarnlevelmessageThisisanerrorlevelmessageFinishedwaitingWaiting3seconds:[--------------------------------------------------]0.00%,0/3sec,rate:-sec/s,timeremaining:-[================----------------------------------]33.33%,1/3sec,rate:1.00sec/s,timeremaining:2s_______/___|________||||_______||||_/_\/_\/_`||'_\||||/_\||||_|||(_)||(_)||(_||||_)|||_|||__/|_|\____|\___/\___/\__,_||_.__/\__,|\___|(_)|___/ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + nick@tarsexample-cli%./example-cli--helpc + + nick@tarsexample-cli%./example-cli--helpco + + nick@tarsexample-cli%./example-cli--helpcom + + nick@tarsexample-cli%./example-cli--helpcomm + + nick@tarsexample-cli%./example-cli--helpcomma + + nick@tarsexample-cli%./example-cli--helpcomman + + nick@tarsexample-cli%./example-cli--helpcommand + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + nick@tarsexample-cli%./example-clic + + nick@tarsexample-cli%./example-clico + + nick@tarsexample-cli%./example-clicom + + nick@tarsexample-cli%./example-clicomm + + nick@tarsexample-cli%./example-clicomma + + nick@tarsexample-cli%./example-clicomman + + nick@tarsexample-cli%./example-clicommand + + + + + + + + + + + + + + + + + + + + + + + + + + + + Waiting3seconds + + + + Waiting3seconds + + + + Waiting3seconds + + + + Waiting3seconds + + + + Waiting3seconds + + + + Waiting3seconds + + + + Waiting3seconds + + + + Waiting3seconds + + + + Waiting3seconds + + + + Waiting2seconds + + + + Waiting2seconds + + + + Waiting2seconds + + + + Waiting2seconds + + + + Waiting2seconds + + + + Waiting2seconds + + + + Waiting2seconds + + + + Waiting2seconds + + + + Waiting2seconds + + + + Waiting2seconds + + + + Waiting1seconds + + + + Waiting1seconds + + + + Waiting1seconds + + + + Waiting1seconds + + + + Waiting1seconds + + + + Waiting1seconds + + + + Waiting1seconds + + + + Waiting1seconds + + + + Waiting1seconds + + + + Waiting1seconds + + + + + + + + + + + + + + + + + + + + + + + + [=================================-----------------]66.67%,2/3sec,rate:1.00sec/s,timeremaining:1s + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +