@flowscripter/dynamic-cli-framework 1.7.4 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli-plugin.ts +1 -104
- package/dist/cli-plugin.d.ts +1 -58
- package/dist/cli-plugin.d.ts.map +1 -1
- package/dist/cli-plugin.js +1 -25
- package/dist/index.d.ts +70 -69
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +27 -26
- package/dist/src/cli/BaseCLI.d.ts +6 -6
- package/dist/src/cli/BaseCLI.d.ts.map +1 -1
- package/dist/src/cli/BaseCLI.js +1 -2
- package/dist/src/{api → cli}/BaseCLIFeatureOptions.d.ts.map +1 -1
- package/dist/src/cli/DefaultRuntimeCLI.d.ts +3 -3
- package/dist/src/cli/DefaultRuntimeCLI.d.ts.map +1 -1
- package/dist/src/cli/DynamicPluginRuntimeCLI.d.ts +3 -3
- package/dist/src/cli/DynamicPluginRuntimeCLI.d.ts.map +1 -1
- package/dist/src/cli/DynamicPluginRuntimeCLI.js +3 -3
- package/dist/src/command/MultiCommandCliHelpCommand.d.ts +7 -7
- package/dist/src/command/MultiCommandCliHelpCommand.d.ts.map +1 -1
- package/dist/src/command/MultiCommandCliHelpCommand.js +3 -3
- package/dist/src/command/SingleCommandCliHelpCommand.d.ts +6 -6
- package/dist/src/command/SingleCommandCliHelpCommand.d.ts.map +1 -1
- package/dist/src/command/SingleCommandCliHelpCommand.js +2 -2
- package/dist/src/command/UsageCommand.d.ts +3 -3
- package/dist/src/command/UsageCommand.d.ts.map +1 -1
- package/dist/src/command/UsageCommand.js +1 -1
- package/dist/src/command/VersionCommand.d.ts +2 -2
- package/dist/src/command/VersionCommand.d.ts.map +1 -1
- package/dist/src/command/VersionCommand.js +1 -1
- package/dist/src/launcher.d.ts +2 -5
- package/dist/src/launcher.d.ts.map +1 -1
- package/dist/src/runtime/DefaultContext.d.ts +2 -2
- package/dist/src/runtime/DefaultContext.d.ts.map +1 -1
- package/dist/src/runtime/argument/ArgumentTypeGuards.d.ts +2 -2
- package/dist/src/runtime/argument/ArgumentTypeGuards.d.ts.map +1 -1
- package/dist/src/runtime/command/CommandTypeGuards.d.ts +5 -5
- package/dist/src/runtime/command/CommandTypeGuards.d.ts.map +1 -1
- package/dist/src/runtime/command/CommandValidator.d.ts +2 -2
- package/dist/src/runtime/command/CommandValidator.d.ts.map +1 -1
- package/dist/src/runtime/command/CommandValidator.js +1 -1
- package/dist/src/runtime/parser.d.ts +3 -32
- package/dist/src/runtime/parser.d.ts.map +1 -1
- package/dist/src/runtime/registry/DefaultCommandRegistry.d.ts +6 -6
- package/dist/src/runtime/registry/DefaultCommandRegistry.d.ts.map +1 -1
- package/dist/src/runtime/registry/DefaultServiceProviderRegistry.d.ts +2 -2
- package/dist/src/runtime/registry/DefaultServiceProviderRegistry.d.ts.map +1 -1
- package/dist/src/runtime/runner.d.ts +5 -5
- package/dist/src/runtime/runner.d.ts.map +1 -1
- package/dist/src/runtime/runner.js +2 -2
- package/dist/src/runtime/scanner.d.ts +4 -4
- package/dist/src/runtime/scanner.d.ts.map +1 -1
- package/dist/src/runtime/values/ValuePopulationResult.d.ts +2 -2
- package/dist/src/runtime/values/ValuePopulationResult.d.ts.map +1 -1
- package/dist/src/runtime/values/argumentValueMerge.d.ts +1 -1
- package/dist/src/runtime/values/argumentValueMerge.d.ts.map +1 -1
- package/dist/src/runtime/values/argumentValueMerge.js +2 -2
- package/dist/src/runtime/values/argumentValueValidation.d.ts +6 -6
- package/dist/src/runtime/values/argumentValueValidation.d.ts.map +1 -1
- package/dist/src/runtime/values/argumentValueValidation.js +2 -2
- package/dist/src/runtime/values/globalCommandValuePopulation.d.ts +2 -2
- package/dist/src/runtime/values/globalCommandValuePopulation.d.ts.map +1 -1
- package/dist/src/runtime/values/globalCommandValuePopulation.js +2 -2
- package/dist/src/runtime/values/subCommandValuePopulation.d.ts +2 -2
- package/dist/src/runtime/values/subCommandValuePopulation.d.ts.map +1 -1
- package/dist/src/runtime/values/subCommandValuePopulation.js +4 -4
- package/dist/src/service/argumentPrompter/ArgumentPrompterServiceProvider.d.ts +4 -4
- package/dist/src/service/argumentPrompter/ArgumentPrompterServiceProvider.d.ts.map +1 -1
- package/dist/src/service/argumentPrompter/ArgumentPrompterServiceProvider.js +1 -1
- package/dist/src/service/argumentPrompter/DefaultArgumentPrompterService.d.ts +2 -2
- package/dist/src/service/argumentPrompter/DefaultArgumentPrompterService.d.ts.map +1 -1
- package/dist/src/service/argumentPrompter/DefaultArgumentPrompterService.js +3 -3
- package/dist/src/service/asciiBannerGenerator/AsciiBannerGeneratorServiceProvider.d.ts +3 -3
- package/dist/src/service/asciiBannerGenerator/AsciiBannerGeneratorServiceProvider.d.ts.map +1 -1
- package/dist/src/service/asciiBannerGenerator/AsciiBannerGeneratorServiceProvider.js +1 -1
- package/dist/src/service/asciiBannerGenerator/DefaultAsciiBannerGeneratorService.d.ts +2 -2
- package/dist/src/service/asciiBannerGenerator/DefaultAsciiBannerGeneratorService.d.ts.map +1 -1
- package/dist/src/service/banner/BannerServiceProvider.d.ts +3 -3
- package/dist/src/service/banner/BannerServiceProvider.d.ts.map +1 -1
- package/dist/src/service/banner/BannerServiceProvider.js +2 -2
- package/dist/src/service/banner/command/NoBannerCommand.d.ts +4 -4
- package/dist/src/service/banner/command/NoBannerCommand.d.ts.map +1 -1
- package/dist/src/service/banner/command/NoBannerCommand.js +1 -1
- package/dist/src/service/chiselAsciiBannerGenerator/ChiselFontAsciiBannerGeneratorService.d.ts +2 -2
- package/dist/src/service/chiselAsciiBannerGenerator/ChiselFontAsciiBannerGeneratorService.d.ts.map +1 -1
- package/dist/src/service/completion/CompletionServiceProvider.d.ts +5 -5
- package/dist/src/service/completion/CompletionServiceProvider.d.ts.map +1 -1
- package/dist/src/service/completion/CompletionServiceProvider.js +6 -7
- package/dist/src/service/completion/DefaultCompletionService.d.ts +3 -3
- package/dist/src/service/completion/DefaultCompletionService.d.ts.map +1 -1
- package/dist/src/service/completion/DefaultCompletionService.js +1 -1
- package/dist/src/service/completion/command/CompletionCompleteSubCommand.d.ts +5 -5
- package/dist/src/service/completion/command/CompletionCompleteSubCommand.d.ts.map +1 -1
- package/dist/src/service/completion/command/CompletionCompleteSubCommand.js +3 -3
- package/dist/src/service/completion/command/CompletionGroupCommand.d.ts +3 -3
- package/dist/src/service/completion/command/CompletionGroupCommand.d.ts.map +1 -1
- package/dist/src/service/completion/command/CompletionIntegrationSubCommand.d.ts +5 -5
- package/dist/src/service/completion/command/CompletionIntegrationSubCommand.d.ts.map +1 -1
- package/dist/src/service/completion/command/CompletionIntegrationSubCommand.js +3 -3
- package/dist/src/service/completion/shell/ShellHandler.d.ts +1 -1
- package/dist/src/service/completion/shell/ShellHandler.d.ts.map +1 -1
- package/dist/src/service/completion/shell/bash.d.ts +1 -1
- package/dist/src/service/completion/shell/bash.d.ts.map +1 -1
- package/dist/src/service/completion/shell/fish.d.ts +1 -1
- package/dist/src/service/completion/shell/fish.d.ts.map +1 -1
- package/dist/src/service/completion/shell/powershell.d.ts +1 -1
- package/dist/src/service/completion/shell/powershell.d.ts.map +1 -1
- package/dist/src/service/completion/shell/zsh.d.ts +1 -1
- package/dist/src/service/completion/shell/zsh.d.ts.map +1 -1
- package/dist/src/service/configuration/ConfigurationServiceProvider.d.ts +5 -5
- package/dist/src/service/configuration/ConfigurationServiceProvider.d.ts.map +1 -1
- package/dist/src/service/configuration/ConfigurationServiceProvider.js +1 -1
- package/dist/src/service/configuration/DefaultKeyValueService.d.ts +1 -1
- package/dist/src/service/configuration/DefaultKeyValueService.d.ts.map +1 -1
- package/dist/src/service/configuration/DefaultKeyValueService.js +1 -1
- package/dist/src/service/configuration/DefaultSecretService.d.ts +1 -1
- package/dist/src/service/configuration/DefaultSecretService.d.ts.map +1 -1
- package/dist/src/service/configuration/command/ConfigCommand.d.ts +4 -4
- package/dist/src/service/configuration/command/ConfigCommand.d.ts.map +1 -1
- package/dist/src/service/configuration/command/ConfigCommand.js +1 -1
- package/dist/src/service/configuration/command/DumpConfigCommand.d.ts +2 -2
- package/dist/src/service/configuration/command/DumpConfigCommand.d.ts.map +1 -1
- package/dist/src/service/configuration/command/DumpConfigCommand.js +2 -2
- package/dist/src/service/dataDumpGenerator/DataDumpGeneratorServiceProvider.d.ts +3 -3
- package/dist/src/service/dataDumpGenerator/DataDumpGeneratorServiceProvider.d.ts.map +1 -1
- package/dist/src/service/dataDumpGenerator/DataDumpGeneratorServiceProvider.js +2 -2
- package/dist/src/service/dataDumpGenerator/DefaultDataDumpGeneratorService.d.ts +2 -2
- package/dist/src/service/dataDumpGenerator/DefaultDataDumpGeneratorService.d.ts.map +1 -1
- package/dist/src/service/dataDumpGenerator/DefaultDataDumpGeneratorService.js +1 -1
- package/dist/src/service/imagePrinter/DefaultImagePrinterService.d.ts +1 -1
- package/dist/src/service/imagePrinter/DefaultImagePrinterService.d.ts.map +1 -1
- package/dist/src/service/imagePrinter/ImagePrinterServiceProvider.d.ts +3 -3
- package/dist/src/service/imagePrinter/ImagePrinterServiceProvider.d.ts.map +1 -1
- package/dist/src/service/imagePrinter/ImagePrinterServiceProvider.js +1 -1
- package/dist/src/service/plugin/DefaultPluginService.d.ts +1 -1
- package/dist/src/service/plugin/DefaultPluginService.d.ts.map +1 -1
- package/dist/src/service/plugin/DefaultPluginServiceProvider.d.ts +3 -3
- package/dist/src/service/plugin/DefaultPluginServiceProvider.d.ts.map +1 -1
- package/dist/src/service/plugin/DefaultPluginServiceProvider.js +1 -1
- package/dist/src/service/plugin/command/PluginAddSubCommand.d.ts +4 -4
- package/dist/src/service/plugin/command/PluginAddSubCommand.d.ts.map +1 -1
- package/dist/src/service/plugin/command/PluginAddSubCommand.js +3 -3
- package/dist/src/service/plugin/command/PluginGroupCommand.d.ts +3 -3
- package/dist/src/service/plugin/command/PluginGroupCommand.d.ts.map +1 -1
- package/dist/src/service/plugin/command/PluginListSubCommand.d.ts +3 -3
- package/dist/src/service/plugin/command/PluginListSubCommand.d.ts.map +1 -1
- package/dist/src/service/plugin/command/PluginListSubCommand.js +2 -2
- package/dist/src/service/plugin/command/PluginRemoveSubCommand.d.ts +4 -4
- package/dist/src/service/plugin/command/PluginRemoveSubCommand.d.ts.map +1 -1
- package/dist/src/service/plugin/command/PluginRemoveSubCommand.js +3 -3
- package/dist/src/service/plugin/command/PluginSearchSubCommand.d.ts +4 -4
- package/dist/src/service/plugin/command/PluginSearchSubCommand.d.ts.map +1 -1
- package/dist/src/service/plugin/command/PluginSearchSubCommand.js +3 -3
- package/dist/src/service/plugin/command/PluginUpgradeSubCommand.d.ts +3 -3
- package/dist/src/service/plugin/command/PluginUpgradeSubCommand.d.ts.map +1 -1
- package/dist/src/service/plugin/command/PluginUpgradeSubCommand.js +2 -2
- package/dist/src/service/prettyPrinter/DefaultPrettyPrinterService.d.ts +2 -2
- package/dist/src/service/prettyPrinter/DefaultPrettyPrinterService.d.ts.map +1 -1
- package/dist/src/service/prettyPrinter/PrettyPrinterServiceProvider.d.ts +3 -3
- package/dist/src/service/prettyPrinter/PrettyPrinterServiceProvider.d.ts.map +1 -1
- package/dist/src/service/prettyPrinter/PrettyPrinterServiceProvider.js +1 -1
- package/dist/src/service/printer/DefaultPrinterService.d.ts +7 -2
- package/dist/src/service/printer/DefaultPrinterService.d.ts.map +1 -1
- package/dist/src/service/printer/DefaultPrinterService.js +60 -3
- package/dist/src/service/printer/PrinterServiceProvider.d.ts +4 -4
- package/dist/src/service/printer/PrinterServiceProvider.d.ts.map +1 -1
- package/dist/src/service/printer/PrinterServiceProvider.js +2 -2
- package/dist/src/service/printer/command/DarkModeCommand.d.ts +4 -4
- package/dist/src/service/printer/command/DarkModeCommand.d.ts.map +1 -1
- package/dist/src/service/printer/command/DarkModeCommand.js +1 -1
- package/dist/src/service/printer/command/LogLevelCommand.d.ts +4 -4
- package/dist/src/service/printer/command/LogLevelCommand.d.ts.map +1 -1
- package/dist/src/service/printer/command/LogLevelCommand.js +2 -2
- package/dist/src/service/printer/command/NoColorCommand.d.ts +4 -4
- package/dist/src/service/printer/command/NoColorCommand.d.ts.map +1 -1
- package/dist/src/service/printer/command/NoColorCommand.js +1 -1
- package/dist/src/service/printer/command/NoHyperlinksCommand.d.ts +4 -4
- package/dist/src/service/printer/command/NoHyperlinksCommand.d.ts.map +1 -1
- package/dist/src/service/printer/command/NoHyperlinksCommand.js +1 -1
- package/dist/src/service/printer/terminal/Progress.d.ts +2 -2
- package/dist/src/service/printer/terminal/Progress.d.ts.map +1 -1
- package/dist/src/service/printer/terminal/Progress.js +2 -2
- package/dist/src/service/printer/terminal/Quote.d.ts +10 -0
- package/dist/src/service/printer/terminal/Quote.d.ts.map +1 -0
- package/dist/src/service/printer/terminal/Quote.js +50 -0
- package/dist/src/service/printer/terminal/Spinner.d.ts +2 -2
- package/dist/src/service/printer/terminal/Spinner.d.ts.map +1 -1
- package/dist/src/service/printer/terminal/Spinner.js +2 -2
- package/dist/src/service/prompter/DefaultPrompterService.d.ts +3 -3
- package/dist/src/service/prompter/DefaultPrompterService.d.ts.map +1 -1
- package/dist/src/service/prompter/DefaultPrompterService.js +1 -1
- package/dist/src/service/prompter/PrompterServiceProvider.d.ts +4 -4
- package/dist/src/service/prompter/PrompterServiceProvider.d.ts.map +1 -1
- package/dist/src/service/prompter/PrompterServiceProvider.js +1 -1
- package/dist/src/service/prompter/command/NoPromptCommand.d.ts +4 -4
- package/dist/src/service/prompter/command/NoPromptCommand.d.ts.map +1 -1
- package/dist/src/service/prompter/command/NoPromptCommand.js +1 -1
- package/dist/src/service/prompter/prompt/PromptContext.d.ts +2 -2
- package/dist/src/service/prompter/prompt/PromptContext.d.ts.map +1 -1
- package/dist/src/service/prompter/prompt/promptAcknowledge.d.ts +1 -1
- package/dist/src/service/prompter/prompt/promptAcknowledge.d.ts.map +1 -1
- package/dist/src/service/prompter/prompt/promptAcknowledge.js +1 -1
- package/dist/src/service/prompter/prompt/promptMultiSelect.d.ts +1 -1
- package/dist/src/service/prompter/prompt/promptMultiSelect.d.ts.map +1 -1
- package/dist/src/service/prompter/prompt/promptOpenUrl.d.ts +1 -1
- package/dist/src/service/prompter/prompt/promptOpenUrl.d.ts.map +1 -1
- package/dist/src/service/prompter/prompt/promptSingleSelect.d.ts +1 -1
- package/dist/src/service/prompter/prompt/promptSingleSelect.d.ts.map +1 -1
- package/dist/src/service/prompter/prompt/promptText.d.ts +1 -1
- package/dist/src/service/prompter/prompt/promptText.d.ts.map +1 -1
- package/dist/src/service/prompter/prompt/promptToggle.d.ts +1 -1
- package/dist/src/service/prompter/prompt/promptToggle.d.ts.map +1 -1
- package/dist/src/service/prompter/prompt/promptToggle.js +1 -1
- package/dist/src/service/shutdown/DefaultShutdownService.d.ts +1 -1
- package/dist/src/service/shutdown/DefaultShutdownService.d.ts.map +1 -1
- package/dist/src/service/shutdown/ShutdownServiceProvider.d.ts +3 -3
- package/dist/src/service/shutdown/ShutdownServiceProvider.d.ts.map +1 -1
- package/dist/src/service/shutdown/ShutdownServiceProvider.js +1 -1
- package/dist/src/service/syntaxHighlighter/DefaultSyntaxHighlighterService.d.ts +2 -2
- package/dist/src/service/syntaxHighlighter/DefaultSyntaxHighlighterService.d.ts.map +1 -1
- package/dist/src/service/syntaxHighlighter/SyntaxHighlighterServiceProvider.d.ts +3 -3
- package/dist/src/service/syntaxHighlighter/SyntaxHighlighterServiceProvider.d.ts.map +1 -1
- package/dist/src/service/syntaxHighlighter/SyntaxHighlighterServiceProvider.js +2 -2
- package/dist/src/service/tableGenerator/DefaultTableGeneratorService.d.ts +3 -3
- package/dist/src/service/tableGenerator/DefaultTableGeneratorService.d.ts.map +1 -1
- package/dist/src/service/tableGenerator/DefaultTableGeneratorService.js +2 -2
- package/dist/src/service/tableGenerator/TableGeneratorServiceProvider.d.ts +3 -3
- package/dist/src/service/tableGenerator/TableGeneratorServiceProvider.d.ts.map +1 -1
- package/dist/src/service/tableGenerator/TableGeneratorServiceProvider.js +2 -2
- package/dist/src/service/treePrinter/DefaultTreePrinterService.d.ts +2 -2
- package/dist/src/service/treePrinter/DefaultTreePrinterService.d.ts.map +1 -1
- package/dist/src/service/treePrinter/TreePrinterServiceProvider.d.ts +3 -3
- package/dist/src/service/treePrinter/TreePrinterServiceProvider.d.ts.map +1 -1
- package/dist/src/service/treePrinter/TreePrinterServiceProvider.js +2 -2
- package/dist/src/terminal/ImageRenderer.d.ts.map +1 -1
- package/dist/src/terminal/ImageRenderer.js +7 -5
- package/dist/src/util/configHelper.d.ts +4 -4
- package/dist/src/util/configHelper.d.ts.map +1 -1
- package/dist/src/util/envVarHelper.d.ts +4 -4
- package/dist/src/util/envVarHelper.d.ts.map +1 -1
- package/dist/src/util/envVarHelper.js +2 -2
- package/dist/src/util/helpHelper.d.ts +8 -8
- package/dist/src/util/helpHelper.d.ts.map +1 -1
- package/dist/src/util/helpHelper.js +1 -1
- package/dist/src/util/runnerHelper.d.ts +2 -2
- package/dist/src/util/runnerHelper.d.ts.map +1 -1
- package/dist/src/util/runnerHelper.js +1 -1
- package/index.ts +70 -69
- package/package.json +2 -1
- package/src/cli/BaseCLI.ts +10 -11
- package/src/cli/DefaultRuntimeCLI.ts +3 -3
- package/src/cli/DynamicPluginRuntimeCLI.ts +8 -8
- package/src/command/MultiCommandCliHelpCommand.ts +13 -13
- package/src/command/SingleCommandCliHelpCommand.ts +12 -12
- package/src/command/UsageCommand.ts +5 -5
- package/src/command/VersionCommand.ts +4 -4
- package/src/launcher.ts +8 -6
- package/src/runtime/DefaultContext.ts +2 -2
- package/src/runtime/argument/ArgumentTypeGuards.ts +2 -2
- package/src/runtime/command/CommandTypeGuards.ts +5 -5
- package/src/runtime/command/CommandValidator.ts +13 -13
- package/src/runtime/parser.ts +6 -38
- package/src/runtime/registry/DefaultCommandRegistry.ts +6 -6
- package/src/runtime/registry/DefaultServiceProviderRegistry.ts +2 -2
- package/src/runtime/runner.ts +13 -13
- package/src/runtime/scanner.ts +4 -4
- package/src/runtime/values/ValuePopulationResult.ts +2 -2
- package/src/runtime/values/argumentValueMerge.ts +3 -3
- package/src/runtime/values/argumentValueValidation.ts +10 -10
- package/src/runtime/values/globalCommandValuePopulation.ts +4 -4
- package/src/runtime/values/subCommandValuePopulation.ts +10 -7
- package/src/service/argumentPrompter/ArgumentPrompterServiceProvider.ts +5 -5
- package/src/service/argumentPrompter/DefaultArgumentPrompterService.ts +12 -12
- package/src/service/asciiBannerGenerator/AsciiBannerGeneratorServiceProvider.ts +5 -5
- package/src/service/asciiBannerGenerator/DefaultAsciiBannerGeneratorService.ts +2 -5
- package/src/service/banner/BannerServiceProvider.ts +7 -7
- package/src/service/banner/command/NoBannerCommand.ts +4 -4
- package/src/service/chiselAsciiBannerGenerator/ChiselFontAsciiBannerGeneratorService.ts +2 -2
- package/src/service/completion/CompletionServiceProvider.ts +14 -15
- package/src/service/completion/DefaultCompletionService.ts +5 -5
- package/src/service/completion/command/CompletionCompleteSubCommand.ts +8 -8
- package/src/service/completion/command/CompletionGroupCommand.ts +3 -3
- package/src/service/completion/command/CompletionIntegrationSubCommand.ts +8 -8
- package/src/service/completion/shell/ShellHandler.ts +1 -1
- package/src/service/completion/shell/bash.ts +1 -1
- package/src/service/completion/shell/fish.ts +1 -1
- package/src/service/completion/shell/powershell.ts +1 -1
- package/src/service/completion/shell/zsh.ts +1 -1
- package/src/service/configuration/ConfigurationServiceProvider.ts +6 -6
- package/src/service/configuration/DefaultKeyValueService.ts +2 -2
- package/src/service/configuration/DefaultSecretService.ts +1 -1
- package/src/service/configuration/command/ConfigCommand.ts +4 -4
- package/src/service/configuration/command/DumpConfigCommand.ts +6 -6
- package/src/service/dataDumpGenerator/DataDumpGeneratorServiceProvider.ts +6 -6
- package/src/service/dataDumpGenerator/DefaultDataDumpGeneratorService.ts +2 -2
- package/src/service/imagePrinter/DefaultImagePrinterService.ts +1 -1
- package/src/service/imagePrinter/ImagePrinterServiceProvider.ts +4 -4
- package/src/service/plugin/DefaultPluginService.ts +1 -1
- package/src/service/plugin/DefaultPluginServiceProvider.ts +4 -4
- package/src/service/plugin/command/PluginAddSubCommand.ts +8 -8
- package/src/service/plugin/command/PluginGroupCommand.ts +3 -3
- package/src/service/plugin/command/PluginListSubCommand.ts +7 -7
- package/src/service/plugin/command/PluginRemoveSubCommand.ts +8 -8
- package/src/service/plugin/command/PluginSearchSubCommand.ts +8 -8
- package/src/service/plugin/command/PluginUpgradeSubCommand.ts +7 -7
- package/src/service/prettyPrinter/DefaultPrettyPrinterService.ts +3 -3
- package/src/service/prettyPrinter/PrettyPrinterServiceProvider.ts +4 -4
- package/src/service/printer/DefaultPrinterService.ts +70 -8
- package/src/service/printer/PrinterServiceProvider.ts +7 -7
- package/src/service/printer/command/DarkModeCommand.ts +4 -4
- package/src/service/printer/command/LogLevelCommand.ts +5 -5
- package/src/service/printer/command/NoColorCommand.ts +4 -4
- package/src/service/printer/command/NoHyperlinksCommand.ts +4 -4
- package/src/service/printer/terminal/Progress.ts +2 -2
- package/src/service/printer/terminal/Quote.ts +66 -0
- package/src/service/printer/terminal/Spinner.ts +2 -2
- package/src/service/prompter/DefaultPrompterService.ts +3 -3
- package/src/service/prompter/PrompterServiceProvider.ts +5 -5
- package/src/service/prompter/command/NoPromptCommand.ts +4 -4
- package/src/service/prompter/prompt/PromptContext.ts +2 -2
- package/src/service/prompter/prompt/promptAcknowledge.ts +1 -1
- package/src/service/prompter/prompt/promptMultiSelect.ts +1 -1
- package/src/service/prompter/prompt/promptOpenUrl.ts +1 -1
- package/src/service/prompter/prompt/promptSingleSelect.ts +1 -1
- package/src/service/prompter/prompt/promptText.ts +2 -2
- package/src/service/prompter/prompt/promptToggle.ts +1 -1
- package/src/service/shutdown/DefaultShutdownService.ts +1 -1
- package/src/service/shutdown/ShutdownServiceProvider.ts +5 -5
- package/src/service/syntaxHighlighter/DefaultSyntaxHighlighterService.ts +2 -2
- package/src/service/syntaxHighlighter/SyntaxHighlighterServiceProvider.ts +6 -6
- package/src/service/tableGenerator/DefaultTableGeneratorService.ts +4 -4
- package/src/service/tableGenerator/TableGeneratorServiceProvider.ts +6 -6
- package/src/service/treePrinter/DefaultTreePrinterService.ts +2 -2
- package/src/service/treePrinter/TreePrinterServiceProvider.ts +6 -6
- package/src/terminal/ImageRenderer.ts +7 -5
- package/src/util/configHelper.ts +6 -6
- package/src/util/envVarHelper.ts +10 -10
- package/src/util/helpHelper.ts +19 -16
- package/src/util/runnerHelper.ts +4 -4
- package/dist/src/api/CLI.d.ts +0 -17
- package/dist/src/api/CLI.d.ts.map +0 -1
- package/dist/src/api/CLI.js +0 -0
- package/dist/src/api/CLIConfig.d.ts +0 -22
- package/dist/src/api/CLIConfig.d.ts.map +0 -1
- package/dist/src/api/CLIConfig.js +0 -0
- package/dist/src/api/Context.d.ts +0 -23
- package/dist/src/api/Context.d.ts.map +0 -1
- package/dist/src/api/Context.js +0 -0
- package/dist/src/api/RunResult.d.ts +0 -128
- package/dist/src/api/RunResult.d.ts.map +0 -1
- package/dist/src/api/RunResult.js +0 -73
- package/dist/src/api/argument/Argument.d.ts +0 -62
- package/dist/src/api/argument/Argument.d.ts.map +0 -1
- package/dist/src/api/argument/Argument.js +0 -0
- package/dist/src/api/argument/ArgumentValueTypes.d.ts +0 -68
- package/dist/src/api/argument/ArgumentValueTypes.d.ts.map +0 -1
- package/dist/src/api/argument/ArgumentValueTypes.js +0 -18
- package/dist/src/api/argument/ComplexOption.d.ts +0 -21
- package/dist/src/api/argument/ComplexOption.d.ts.map +0 -1
- package/dist/src/api/argument/ComplexOption.js +0 -1
- package/dist/src/api/argument/GlobalCommandArgument.d.ts +0 -16
- package/dist/src/api/argument/GlobalCommandArgument.d.ts.map +0 -1
- package/dist/src/api/argument/GlobalCommandArgument.js +0 -0
- package/dist/src/api/argument/Option.d.ts +0 -29
- package/dist/src/api/argument/Option.d.ts.map +0 -1
- package/dist/src/api/argument/Option.js +0 -0
- package/dist/src/api/argument/Positional.d.ts +0 -26
- package/dist/src/api/argument/Positional.d.ts.map +0 -1
- package/dist/src/api/argument/Positional.js +0 -0
- package/dist/src/api/argument/SubCommandArgument.d.ts +0 -18
- package/dist/src/api/argument/SubCommandArgument.d.ts.map +0 -1
- package/dist/src/api/argument/SubCommandArgument.js +0 -1
- package/dist/src/api/command/Command.d.ts +0 -26
- package/dist/src/api/command/Command.d.ts.map +0 -1
- package/dist/src/api/command/Command.js +0 -0
- package/dist/src/api/command/GlobalCommand.d.ts +0 -28
- package/dist/src/api/command/GlobalCommand.d.ts.map +0 -1
- package/dist/src/api/command/GlobalCommand.js +0 -0
- package/dist/src/api/command/GlobalModifierCommand.d.ts +0 -12
- package/dist/src/api/command/GlobalModifierCommand.d.ts.map +0 -1
- package/dist/src/api/command/GlobalModifierCommand.js +0 -0
- package/dist/src/api/command/GroupCommand.d.ts +0 -19
- package/dist/src/api/command/GroupCommand.d.ts.map +0 -1
- package/dist/src/api/command/GroupCommand.js +0 -0
- package/dist/src/api/command/SubCommand.d.ts +0 -37
- package/dist/src/api/command/SubCommand.d.ts.map +0 -1
- package/dist/src/api/command/SubCommand.js +0 -0
- package/dist/src/api/command/UsageExample.d.ts +0 -20
- package/dist/src/api/command/UsageExample.d.ts.map +0 -1
- package/dist/src/api/command/UsageExample.js +0 -0
- package/dist/src/api/plugin/CLIPlugin.d.ts +0 -31
- package/dist/src/api/plugin/CLIPlugin.d.ts.map +0 -1
- package/dist/src/api/plugin/CLIPlugin.js +0 -2
- package/dist/src/api/plugin/CommandFactory.d.ts +0 -23
- package/dist/src/api/plugin/CommandFactory.d.ts.map +0 -1
- package/dist/src/api/plugin/CommandFactory.js +0 -7
- package/dist/src/api/plugin/ServiceProviderFactory.d.ts +0 -25
- package/dist/src/api/plugin/ServiceProviderFactory.d.ts.map +0 -1
- package/dist/src/api/plugin/ServiceProviderFactory.js +0 -7
- package/dist/src/api/plugin/createCLIPlugin.d.ts +0 -14
- package/dist/src/api/plugin/createCLIPlugin.d.ts.map +0 -1
- package/dist/src/api/plugin/createCLIPlugin.js +0 -30
- package/dist/src/api/service/ServiceProvider.d.ts +0 -47
- package/dist/src/api/service/ServiceProvider.d.ts.map +0 -1
- package/dist/src/api/service/ServiceProvider.js +0 -0
- package/dist/src/api/service/core/ArgumentPrompterService.d.ts +0 -6
- package/dist/src/api/service/core/ArgumentPrompterService.d.ts.map +0 -1
- package/dist/src/api/service/core/ArgumentPrompterService.js +0 -1
- package/dist/src/api/service/core/AsciiBannerGeneratorService.d.ts +0 -59
- package/dist/src/api/service/core/AsciiBannerGeneratorService.d.ts.map +0 -1
- package/dist/src/api/service/core/AsciiBannerGeneratorService.js +0 -1
- package/dist/src/api/service/core/CompletionService.d.ts +0 -22
- package/dist/src/api/service/core/CompletionService.d.ts.map +0 -1
- package/dist/src/api/service/core/CompletionService.js +0 -8
- package/dist/src/api/service/core/DataDumpGeneratorService.d.ts +0 -22
- package/dist/src/api/service/core/DataDumpGeneratorService.d.ts.map +0 -1
- package/dist/src/api/service/core/DataDumpGeneratorService.js +0 -7
- package/dist/src/api/service/core/ImagePrinterService.d.ts +0 -21
- package/dist/src/api/service/core/ImagePrinterService.d.ts.map +0 -1
- package/dist/src/api/service/core/ImagePrinterService.js +0 -1
- package/dist/src/api/service/core/KeyValueService.d.ts +0 -40
- package/dist/src/api/service/core/KeyValueService.d.ts.map +0 -1
- package/dist/src/api/service/core/KeyValueService.js +0 -7
- package/dist/src/api/service/core/PluginService.d.ts +0 -55
- package/dist/src/api/service/core/PluginService.d.ts.map +0 -1
- package/dist/src/api/service/core/PluginService.js +0 -6
- package/dist/src/api/service/core/PrettyPrinterService.d.ts +0 -35
- package/dist/src/api/service/core/PrettyPrinterService.d.ts.map +0 -1
- package/dist/src/api/service/core/PrettyPrinterService.js +0 -1
- package/dist/src/api/service/core/PrinterService.d.ts +0 -339
- package/dist/src/api/service/core/PrinterService.d.ts.map +0 -1
- package/dist/src/api/service/core/PrinterService.js +0 -42
- package/dist/src/api/service/core/PrompterService.d.ts +0 -35
- package/dist/src/api/service/core/PrompterService.d.ts.map +0 -1
- package/dist/src/api/service/core/PrompterService.js +0 -10
- package/dist/src/api/service/core/SecretService.d.ts +0 -25
- package/dist/src/api/service/core/SecretService.d.ts.map +0 -1
- package/dist/src/api/service/core/SecretService.js +0 -0
- package/dist/src/api/service/core/ShutdownService.d.ts +0 -24
- package/dist/src/api/service/core/ShutdownService.d.ts.map +0 -1
- package/dist/src/api/service/core/ShutdownService.js +0 -1
- package/dist/src/api/service/core/SyntaxHighlighterService.d.ts +0 -49
- package/dist/src/api/service/core/SyntaxHighlighterService.d.ts.map +0 -1
- package/dist/src/api/service/core/SyntaxHighlighterService.js +0 -1
- package/dist/src/api/service/core/Table.d.ts +0 -18
- package/dist/src/api/service/core/Table.d.ts.map +0 -1
- package/dist/src/api/service/core/Table.js +0 -49
- package/dist/src/api/service/core/TableGeneratorService.d.ts +0 -32
- package/dist/src/api/service/core/TableGeneratorService.d.ts.map +0 -1
- package/dist/src/api/service/core/TableGeneratorService.js +0 -7
- package/dist/src/api/service/core/TreePrinterService.d.ts +0 -9
- package/dist/src/api/service/core/TreePrinterService.d.ts.map +0 -1
- package/dist/src/api/service/core/TreePrinterService.js +0 -1
- package/dist/src/runtime/registry/CommandRegistry.d.ts +0 -89
- package/dist/src/runtime/registry/CommandRegistry.d.ts.map +0 -1
- package/dist/src/runtime/registry/CommandRegistry.js +0 -0
- package/dist/src/runtime/registry/ServiceProviderRegistry.d.ts +0 -11
- package/dist/src/runtime/registry/ServiceProviderRegistry.d.ts.map +0 -1
- package/dist/src/runtime/registry/ServiceProviderRegistry.js +0 -0
- package/src/api/CLI.ts +0 -17
- package/src/api/CLIConfig.ts +0 -24
- package/src/api/Context.ts +0 -25
- package/src/api/RunResult.ts +0 -158
- package/src/api/argument/Argument.ts +0 -75
- package/src/api/argument/ArgumentValueTypes.ts +0 -80
- package/src/api/argument/ComplexOption.ts +0 -27
- package/src/api/argument/GlobalCommandArgument.ts +0 -17
- package/src/api/argument/Option.ts +0 -32
- package/src/api/argument/Positional.ts +0 -27
- package/src/api/argument/SubCommandArgument.ts +0 -20
- package/src/api/command/Command.ts +0 -28
- package/src/api/command/GlobalCommand.ts +0 -30
- package/src/api/command/GlobalModifierCommand.ts +0 -12
- package/src/api/command/GroupCommand.ts +0 -20
- package/src/api/command/SubCommand.ts +0 -41
- package/src/api/command/UsageExample.ts +0 -21
- package/src/api/plugin/CLIPlugin.ts +0 -35
- package/src/api/plugin/CommandFactory.ts +0 -25
- package/src/api/plugin/ServiceProviderFactory.ts +0 -27
- package/src/api/plugin/createCLIPlugin.ts +0 -47
- package/src/api/service/ServiceProvider.ts +0 -52
- package/src/api/service/core/ArgumentPrompterService.ts +0 -8
- package/src/api/service/core/AsciiBannerGeneratorService.ts +0 -69
- package/src/api/service/core/CompletionService.ts +0 -32
- package/src/api/service/core/DataDumpGeneratorService.ts +0 -27
- package/src/api/service/core/ImagePrinterService.ts +0 -25
- package/src/api/service/core/KeyValueService.ts +0 -44
- package/src/api/service/core/PluginService.ts +0 -63
- package/src/api/service/core/PrettyPrinterService.ts +0 -39
- package/src/api/service/core/PrinterService.ts +0 -400
- package/src/api/service/core/PrompterService.ts +0 -42
- package/src/api/service/core/SecretService.ts +0 -27
- package/src/api/service/core/ShutdownService.ts +0 -27
- package/src/api/service/core/SyntaxHighlighterService.ts +0 -54
- package/src/api/service/core/Table.ts +0 -67
- package/src/api/service/core/TableGeneratorService.ts +0 -39
- package/src/api/service/core/TreePrinterService.ts +0 -10
- package/src/runtime/registry/CommandRegistry.ts +0 -116
- package/src/runtime/registry/ServiceProviderRegistry.ts +0 -11
- /package/dist/src/{api → cli}/BaseCLIFeatureOptions.d.ts +0 -0
- /package/dist/src/{api → cli}/BaseCLIFeatureOptions.js +0 -0
- /package/src/{api → cli}/BaseCLIFeatureOptions.ts +0 -0
package/cli-plugin.ts
CHANGED
|
@@ -1,104 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
export { DYNAMIC_CLI_FRAMEWORK_COMMAND_FACTORY_EXTENSION_POINT } from "./src/api/plugin/CommandFactory.ts";
|
|
3
|
-
export type { default as ServiceProviderFactory } from "./src/api/plugin/ServiceProviderFactory.ts";
|
|
4
|
-
export { DYNAMIC_CLI_FRAMEWORK_SERVICE_PROVIDER_FACTORY_EXTENSION_POINT } from "./src/api/plugin/ServiceProviderFactory.ts";
|
|
5
|
-
export type { default as Command } from "./src/api/command/Command.ts";
|
|
6
|
-
export type { default as SubCommand } from "./src/api/command/SubCommand.ts";
|
|
7
|
-
export type { default as GlobalCommand } from "./src/api/command/GlobalCommand.ts";
|
|
8
|
-
export type { default as GroupCommand } from "./src/api/command/GroupCommand.ts";
|
|
9
|
-
export type { ServiceProvider, ServiceInfo } from "./src/api/service/ServiceProvider.ts";
|
|
10
|
-
export type { default as Context } from "./src/api/Context.ts";
|
|
11
|
-
export type { default as CLIConfig } from "./src/api/CLIConfig.ts";
|
|
12
|
-
export type { ArgumentValues } from "./src/api/argument/ArgumentValueTypes.ts";
|
|
13
|
-
export { ArgumentValueTypeName } from "./src/api/argument/ArgumentValueTypes.ts";
|
|
14
|
-
export type { default as Option } from "./src/api/argument/Option.ts";
|
|
15
|
-
export type { default as Positional } from "./src/api/argument/Positional.ts";
|
|
16
|
-
export type {
|
|
17
|
-
Plugin,
|
|
18
|
-
ExtensionDescriptor,
|
|
19
|
-
ExtensionFactory,
|
|
20
|
-
} from "@flowscripter/dynamic-plugin-framework";
|
|
21
|
-
export type {
|
|
22
|
-
default as CLIPlugin,
|
|
23
|
-
CommandFactoryExtensionDescriptor,
|
|
24
|
-
ServiceProviderFactoryExtensionDescriptor,
|
|
25
|
-
} from "./src/api/plugin/CLIPlugin.ts";
|
|
26
|
-
export { default as createCLIPlugin } from "./src/api/plugin/createCLIPlugin.ts";
|
|
27
|
-
export type { CLIPluginOptions } from "./src/api/plugin/createCLIPlugin.ts";
|
|
28
|
-
|
|
29
|
-
// Core Service IDs and types
|
|
30
|
-
export { ASCII_BANNER_GENERATOR_SERVICE_ID } from "./src/api/service/core/AsciiBannerGeneratorService.ts";
|
|
31
|
-
export type { default as AsciiBannerGeneratorService } from "./src/api/service/core/AsciiBannerGeneratorService.ts";
|
|
32
|
-
export type {
|
|
33
|
-
BannerColorEffects,
|
|
34
|
-
BannerGenerateOptions,
|
|
35
|
-
ColorEffect,
|
|
36
|
-
ColorEffectDirection,
|
|
37
|
-
FixedColorEffect,
|
|
38
|
-
GradientColorEffect,
|
|
39
|
-
RainbowColorEffect,
|
|
40
|
-
} from "./src/api/service/core/AsciiBannerGeneratorService.ts";
|
|
41
|
-
|
|
42
|
-
export { KEY_VALUE_SERVICE_ID } from "./src/api/service/core/KeyValueService.ts";
|
|
43
|
-
export { SECRET_SENTINEL_PREFIX } from "./src/api/service/core/KeyValueService.ts";
|
|
44
|
-
export type { default as KeyValueService } from "./src/api/service/core/KeyValueService.ts";
|
|
45
|
-
export type { default as SecretService } from "./src/api/service/core/SecretService.ts";
|
|
46
|
-
|
|
47
|
-
export { PRINTER_SERVICE_ID } from "./src/api/service/core/PrinterService.ts";
|
|
48
|
-
export type { default as PrinterService } from "./src/api/service/core/PrinterService.ts";
|
|
49
|
-
export { Icon, Level, ProgressStyle, SpinnerStyle } from "./src/api/service/core/PrinterService.ts";
|
|
50
|
-
|
|
51
|
-
export { SHUTDOWN_SERVICE_ID } from "./src/api/service/core/ShutdownService.ts";
|
|
52
|
-
export type { default as ShutdownService } from "./src/api/service/core/ShutdownService.ts";
|
|
53
|
-
|
|
54
|
-
export { SYNTAX_HIGHLIGHTER_SERVICE_ID } from "./src/api/service/core/SyntaxHighlighterService.ts";
|
|
55
|
-
export type { default as SyntaxHighlighterService } from "./src/api/service/core/SyntaxHighlighterService.ts";
|
|
56
|
-
export type { ColorScheme } from "./src/api/service/core/SyntaxHighlighterService.ts";
|
|
57
|
-
|
|
58
|
-
export { PRETTY_PRINTER_SERVICE_ID } from "./src/api/service/core/PrettyPrinterService.ts";
|
|
59
|
-
export type { default as PrettyPrinterService } from "./src/api/service/core/PrettyPrinterService.ts";
|
|
60
|
-
|
|
61
|
-
export { IMAGE_PRINTER_SERVICE_ID } from "./src/api/service/core/ImagePrinterService.ts";
|
|
62
|
-
export type { default as ImagePrinterService } from "./src/api/service/core/ImagePrinterService.ts";
|
|
63
|
-
|
|
64
|
-
export { TREE_PRINTER_SERVICE_ID } from "./src/api/service/core/TreePrinterService.ts";
|
|
65
|
-
export type { default as TreePrinterService } from "./src/api/service/core/TreePrinterService.ts";
|
|
66
|
-
export type { TreeNode } from "./src/api/service/core/TreePrinterService.ts";
|
|
67
|
-
|
|
68
|
-
export { TABLE_GENERATOR_SERVICE_ID } from "./src/api/service/core/TableGeneratorService.ts";
|
|
69
|
-
export type { default as TableGeneratorService } from "./src/api/service/core/TableGeneratorService.ts";
|
|
70
|
-
export {
|
|
71
|
-
Align,
|
|
72
|
-
type CellOptions,
|
|
73
|
-
type ColumnOptions,
|
|
74
|
-
type RowOptions,
|
|
75
|
-
type TableOptions,
|
|
76
|
-
} from "./src/api/service/core/TableGeneratorService.ts";
|
|
77
|
-
export type { default as Table } from "./src/api/service/core/Table.ts";
|
|
78
|
-
|
|
79
|
-
export { DATA_DUMP_GENERATOR_SERVICE_ID } from "./src/api/service/core/DataDumpGeneratorService.ts";
|
|
80
|
-
export type { default as DataDumpGeneratorService } from "./src/api/service/core/DataDumpGeneratorService.ts";
|
|
81
|
-
export {
|
|
82
|
-
type ByteRangeColor,
|
|
83
|
-
DumpFormat,
|
|
84
|
-
type HexDumpGenerateOptions,
|
|
85
|
-
} from "./src/api/service/core/DataDumpGeneratorService.ts";
|
|
86
|
-
|
|
87
|
-
export { COMPLETION_SERVICE_ID } from "./src/api/service/core/CompletionService.ts";
|
|
88
|
-
export type { default as CompletionService } from "./src/api/service/core/CompletionService.ts";
|
|
89
|
-
export { type CompletionItem, ShellType } from "./src/api/service/core/CompletionService.ts";
|
|
90
|
-
|
|
91
|
-
export { PROMPTER_SERVICE_ID } from "./src/api/service/core/PrompterService.ts";
|
|
92
|
-
export type { default as PrompterService } from "./src/api/service/core/PrompterService.ts";
|
|
93
|
-
export {
|
|
94
|
-
type Prompt,
|
|
95
|
-
type PromptOption,
|
|
96
|
-
type PromptResult,
|
|
97
|
-
PromptType,
|
|
98
|
-
} from "./src/api/service/core/PrompterService.ts";
|
|
99
|
-
|
|
100
|
-
export { ARGUMENT_PROMPTER_SERVICE_ID } from "./src/api/service/core/ArgumentPrompterService.ts";
|
|
101
|
-
export type { default as ArgumentPrompterService } from "./src/api/service/core/ArgumentPrompterService.ts";
|
|
102
|
-
|
|
103
|
-
export { PLUGIN_SERVICE_ID } from "./src/api/service/core/PluginService.ts";
|
|
104
|
-
export type { default as PluginService } from "./src/api/service/core/PluginService.ts";
|
|
1
|
+
export * from "@flowscripter/dynamic-cli-framework-api";
|
package/dist/cli-plugin.d.ts
CHANGED
|
@@ -1,59 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
export { DYNAMIC_CLI_FRAMEWORK_COMMAND_FACTORY_EXTENSION_POINT } from "./src/api/plugin/CommandFactory.ts";
|
|
3
|
-
export type { default as ServiceProviderFactory } from "./src/api/plugin/ServiceProviderFactory.ts";
|
|
4
|
-
export { DYNAMIC_CLI_FRAMEWORK_SERVICE_PROVIDER_FACTORY_EXTENSION_POINT } from "./src/api/plugin/ServiceProviderFactory.ts";
|
|
5
|
-
export type { default as Command } from "./src/api/command/Command.ts";
|
|
6
|
-
export type { default as SubCommand } from "./src/api/command/SubCommand.ts";
|
|
7
|
-
export type { default as GlobalCommand } from "./src/api/command/GlobalCommand.ts";
|
|
8
|
-
export type { default as GroupCommand } from "./src/api/command/GroupCommand.ts";
|
|
9
|
-
export type { ServiceProvider, ServiceInfo } from "./src/api/service/ServiceProvider.ts";
|
|
10
|
-
export type { default as Context } from "./src/api/Context.ts";
|
|
11
|
-
export type { default as CLIConfig } from "./src/api/CLIConfig.ts";
|
|
12
|
-
export type { ArgumentValues } from "./src/api/argument/ArgumentValueTypes.ts";
|
|
13
|
-
export { ArgumentValueTypeName } from "./src/api/argument/ArgumentValueTypes.ts";
|
|
14
|
-
export type { default as Option } from "./src/api/argument/Option.ts";
|
|
15
|
-
export type { default as Positional } from "./src/api/argument/Positional.ts";
|
|
16
|
-
export type { Plugin, ExtensionDescriptor, ExtensionFactory, } from "@flowscripter/dynamic-plugin-framework";
|
|
17
|
-
export type { default as CLIPlugin, CommandFactoryExtensionDescriptor, ServiceProviderFactoryExtensionDescriptor, } from "./src/api/plugin/CLIPlugin.ts";
|
|
18
|
-
export { default as createCLIPlugin } from "./src/api/plugin/createCLIPlugin.ts";
|
|
19
|
-
export type { CLIPluginOptions } from "./src/api/plugin/createCLIPlugin.ts";
|
|
20
|
-
export { ASCII_BANNER_GENERATOR_SERVICE_ID } from "./src/api/service/core/AsciiBannerGeneratorService.ts";
|
|
21
|
-
export type { default as AsciiBannerGeneratorService } from "./src/api/service/core/AsciiBannerGeneratorService.ts";
|
|
22
|
-
export type { BannerColorEffects, BannerGenerateOptions, ColorEffect, ColorEffectDirection, FixedColorEffect, GradientColorEffect, RainbowColorEffect, } from "./src/api/service/core/AsciiBannerGeneratorService.ts";
|
|
23
|
-
export { KEY_VALUE_SERVICE_ID } from "./src/api/service/core/KeyValueService.ts";
|
|
24
|
-
export { SECRET_SENTINEL_PREFIX } from "./src/api/service/core/KeyValueService.ts";
|
|
25
|
-
export type { default as KeyValueService } from "./src/api/service/core/KeyValueService.ts";
|
|
26
|
-
export type { default as SecretService } from "./src/api/service/core/SecretService.ts";
|
|
27
|
-
export { PRINTER_SERVICE_ID } from "./src/api/service/core/PrinterService.ts";
|
|
28
|
-
export type { default as PrinterService } from "./src/api/service/core/PrinterService.ts";
|
|
29
|
-
export { Icon, Level, ProgressStyle, SpinnerStyle } from "./src/api/service/core/PrinterService.ts";
|
|
30
|
-
export { SHUTDOWN_SERVICE_ID } from "./src/api/service/core/ShutdownService.ts";
|
|
31
|
-
export type { default as ShutdownService } from "./src/api/service/core/ShutdownService.ts";
|
|
32
|
-
export { SYNTAX_HIGHLIGHTER_SERVICE_ID } from "./src/api/service/core/SyntaxHighlighterService.ts";
|
|
33
|
-
export type { default as SyntaxHighlighterService } from "./src/api/service/core/SyntaxHighlighterService.ts";
|
|
34
|
-
export type { ColorScheme } from "./src/api/service/core/SyntaxHighlighterService.ts";
|
|
35
|
-
export { PRETTY_PRINTER_SERVICE_ID } from "./src/api/service/core/PrettyPrinterService.ts";
|
|
36
|
-
export type { default as PrettyPrinterService } from "./src/api/service/core/PrettyPrinterService.ts";
|
|
37
|
-
export { IMAGE_PRINTER_SERVICE_ID } from "./src/api/service/core/ImagePrinterService.ts";
|
|
38
|
-
export type { default as ImagePrinterService } from "./src/api/service/core/ImagePrinterService.ts";
|
|
39
|
-
export { TREE_PRINTER_SERVICE_ID } from "./src/api/service/core/TreePrinterService.ts";
|
|
40
|
-
export type { default as TreePrinterService } from "./src/api/service/core/TreePrinterService.ts";
|
|
41
|
-
export type { TreeNode } from "./src/api/service/core/TreePrinterService.ts";
|
|
42
|
-
export { TABLE_GENERATOR_SERVICE_ID } from "./src/api/service/core/TableGeneratorService.ts";
|
|
43
|
-
export type { default as TableGeneratorService } from "./src/api/service/core/TableGeneratorService.ts";
|
|
44
|
-
export { Align, type CellOptions, type ColumnOptions, type RowOptions, type TableOptions, } from "./src/api/service/core/TableGeneratorService.ts";
|
|
45
|
-
export type { default as Table } from "./src/api/service/core/Table.ts";
|
|
46
|
-
export { DATA_DUMP_GENERATOR_SERVICE_ID } from "./src/api/service/core/DataDumpGeneratorService.ts";
|
|
47
|
-
export type { default as DataDumpGeneratorService } from "./src/api/service/core/DataDumpGeneratorService.ts";
|
|
48
|
-
export { type ByteRangeColor, DumpFormat, type HexDumpGenerateOptions, } from "./src/api/service/core/DataDumpGeneratorService.ts";
|
|
49
|
-
export { COMPLETION_SERVICE_ID } from "./src/api/service/core/CompletionService.ts";
|
|
50
|
-
export type { default as CompletionService } from "./src/api/service/core/CompletionService.ts";
|
|
51
|
-
export { type CompletionItem, ShellType } from "./src/api/service/core/CompletionService.ts";
|
|
52
|
-
export { PROMPTER_SERVICE_ID } from "./src/api/service/core/PrompterService.ts";
|
|
53
|
-
export type { default as PrompterService } from "./src/api/service/core/PrompterService.ts";
|
|
54
|
-
export { type Prompt, type PromptOption, type PromptResult, PromptType, } from "./src/api/service/core/PrompterService.ts";
|
|
55
|
-
export { ARGUMENT_PROMPTER_SERVICE_ID } from "./src/api/service/core/ArgumentPrompterService.ts";
|
|
56
|
-
export type { default as ArgumentPrompterService } from "./src/api/service/core/ArgumentPrompterService.ts";
|
|
57
|
-
export { PLUGIN_SERVICE_ID } from "./src/api/service/core/PluginService.ts";
|
|
58
|
-
export type { default as PluginService } from "./src/api/service/core/PluginService.ts";
|
|
1
|
+
export * from "@flowscripter/dynamic-cli-framework-api";
|
|
59
2
|
//# sourceMappingURL=cli-plugin.d.ts.map
|
package/dist/cli-plugin.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli-plugin.d.ts","sourceRoot":"","sources":["../cli-plugin.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"cli-plugin.d.ts","sourceRoot":"","sources":["../cli-plugin.ts"],"names":[],"mappings":"AAAA,cAAc,yCAAyC,CAAC"}
|
package/dist/cli-plugin.js
CHANGED
|
@@ -1,25 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
export { DYNAMIC_CLI_FRAMEWORK_SERVICE_PROVIDER_FACTORY_EXTENSION_POINT } from "./src/api/plugin/ServiceProviderFactory.js";
|
|
3
|
-
export { ArgumentValueTypeName } from "./src/api/argument/ArgumentValueTypes.js";
|
|
4
|
-
export { default as createCLIPlugin } from "./src/api/plugin/createCLIPlugin.js";
|
|
5
|
-
// Core Service IDs and types
|
|
6
|
-
export { ASCII_BANNER_GENERATOR_SERVICE_ID } from "./src/api/service/core/AsciiBannerGeneratorService.js";
|
|
7
|
-
export { KEY_VALUE_SERVICE_ID } from "./src/api/service/core/KeyValueService.js";
|
|
8
|
-
export { SECRET_SENTINEL_PREFIX } from "./src/api/service/core/KeyValueService.js";
|
|
9
|
-
export { PRINTER_SERVICE_ID } from "./src/api/service/core/PrinterService.js";
|
|
10
|
-
export { Icon, Level, ProgressStyle, SpinnerStyle } from "./src/api/service/core/PrinterService.js";
|
|
11
|
-
export { SHUTDOWN_SERVICE_ID } from "./src/api/service/core/ShutdownService.js";
|
|
12
|
-
export { SYNTAX_HIGHLIGHTER_SERVICE_ID } from "./src/api/service/core/SyntaxHighlighterService.js";
|
|
13
|
-
export { PRETTY_PRINTER_SERVICE_ID } from "./src/api/service/core/PrettyPrinterService.js";
|
|
14
|
-
export { IMAGE_PRINTER_SERVICE_ID } from "./src/api/service/core/ImagePrinterService.js";
|
|
15
|
-
export { TREE_PRINTER_SERVICE_ID } from "./src/api/service/core/TreePrinterService.js";
|
|
16
|
-
export { TABLE_GENERATOR_SERVICE_ID } from "./src/api/service/core/TableGeneratorService.js";
|
|
17
|
-
export { Align, } from "./src/api/service/core/TableGeneratorService.js";
|
|
18
|
-
export { DATA_DUMP_GENERATOR_SERVICE_ID } from "./src/api/service/core/DataDumpGeneratorService.js";
|
|
19
|
-
export { DumpFormat, } from "./src/api/service/core/DataDumpGeneratorService.js";
|
|
20
|
-
export { COMPLETION_SERVICE_ID } from "./src/api/service/core/CompletionService.js";
|
|
21
|
-
export { ShellType } from "./src/api/service/core/CompletionService.js";
|
|
22
|
-
export { PROMPTER_SERVICE_ID } from "./src/api/service/core/PrompterService.js";
|
|
23
|
-
export { PromptType, } from "./src/api/service/core/PrompterService.js";
|
|
24
|
-
export { ARGUMENT_PROMPTER_SERVICE_ID } from "./src/api/service/core/ArgumentPrompterService.js";
|
|
25
|
-
export { PLUGIN_SERVICE_ID } from "./src/api/service/core/PluginService.js";
|
|
1
|
+
export * from "@flowscripter/dynamic-cli-framework-api";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,107 +1,108 @@
|
|
|
1
|
-
export type {
|
|
2
|
-
export type { ArgumentSingleValueType, ArgumentValues, ArgumentValueType, PopulatedArgumentSingleValueType, PopulatedArgumentValues, PopulatedArgumentValueType, } from "
|
|
3
|
-
export { ArgumentValueTypeName, ComplexValueTypeName, } from "
|
|
4
|
-
export type {
|
|
5
|
-
export { MAXIMUM_COMPLEX_OPTION_NESTING_DEPTH } from "
|
|
6
|
-
export type {
|
|
7
|
-
export { MAXIMUM_ARGUMENT_ARRAY_SIZE } from "
|
|
8
|
-
export type {
|
|
9
|
-
export type {
|
|
10
|
-
export type {
|
|
11
|
-
export type {
|
|
12
|
-
export type {
|
|
13
|
-
export type {
|
|
14
|
-
export type {
|
|
15
|
-
export type {
|
|
16
|
-
export type {
|
|
17
|
-
export type { ServiceInfo, ServiceProvider } from "
|
|
18
|
-
export type {
|
|
19
|
-
export type {
|
|
20
|
-
export { ASCII_BANNER_GENERATOR_SERVICE_ID } from "
|
|
21
|
-
export type {
|
|
22
|
-
export type { BannerColorEffects, BannerGenerateOptions, ColorEffect, ColorEffectDirection, FixedColorEffect, GradientColorEffect, RainbowColorEffect, } from "
|
|
1
|
+
export type { Argument } from "@flowscripter/dynamic-cli-framework-api";
|
|
2
|
+
export type { ArgumentSingleValueType, ArgumentValues, ArgumentValueType, PopulatedArgumentSingleValueType, PopulatedArgumentValues, PopulatedArgumentValueType, } from "@flowscripter/dynamic-cli-framework-api";
|
|
3
|
+
export { ArgumentValueTypeName, ComplexValueTypeName, } from "@flowscripter/dynamic-cli-framework-api";
|
|
4
|
+
export type { ComplexOption } from "@flowscripter/dynamic-cli-framework-api";
|
|
5
|
+
export { MAXIMUM_COMPLEX_OPTION_NESTING_DEPTH } from "@flowscripter/dynamic-cli-framework-api";
|
|
6
|
+
export type { SubCommandArgument } from "@flowscripter/dynamic-cli-framework-api";
|
|
7
|
+
export { MAXIMUM_ARGUMENT_ARRAY_SIZE } from "@flowscripter/dynamic-cli-framework-api";
|
|
8
|
+
export type { GlobalCommandArgument } from "@flowscripter/dynamic-cli-framework-api";
|
|
9
|
+
export type { Option } from "@flowscripter/dynamic-cli-framework-api";
|
|
10
|
+
export type { Positional } from "@flowscripter/dynamic-cli-framework-api";
|
|
11
|
+
export type { Command } from "@flowscripter/dynamic-cli-framework-api";
|
|
12
|
+
export type { GlobalCommand } from "@flowscripter/dynamic-cli-framework-api";
|
|
13
|
+
export type { GlobalModifierCommand } from "@flowscripter/dynamic-cli-framework-api";
|
|
14
|
+
export type { GroupCommand } from "@flowscripter/dynamic-cli-framework-api";
|
|
15
|
+
export type { SubCommand } from "@flowscripter/dynamic-cli-framework-api";
|
|
16
|
+
export type { UsageExample } from "@flowscripter/dynamic-cli-framework-api";
|
|
17
|
+
export type { ServiceInfo, ServiceProvider } from "@flowscripter/dynamic-cli-framework-api";
|
|
18
|
+
export type { CommandRegistry } from "@flowscripter/dynamic-cli-framework-api";
|
|
19
|
+
export type { ServiceProviderRegistry } from "@flowscripter/dynamic-cli-framework-api";
|
|
20
|
+
export { ASCII_BANNER_GENERATOR_SERVICE_ID } from "@flowscripter/dynamic-cli-framework-api";
|
|
21
|
+
export type { AsciiBannerGeneratorService } from "@flowscripter/dynamic-cli-framework-api";
|
|
22
|
+
export type { BannerColorEffects, BannerGenerateOptions, ColorEffect, ColorEffectDirection, FixedColorEffect, GradientColorEffect, RainbowColorEffect, } from "@flowscripter/dynamic-cli-framework-api";
|
|
23
23
|
export { default as DefaultAsciiBannerGeneratorService } from "./src/service/asciiBannerGenerator/DefaultAsciiBannerGeneratorService.ts";
|
|
24
24
|
export { default as AsciiBannerGeneratorServiceProvider } from "./src/service/asciiBannerGenerator/AsciiBannerGeneratorServiceProvider.ts";
|
|
25
25
|
export { default as ChiselFontAsciiBannerGeneratorService } from "./src/service/chiselAsciiBannerGenerator/ChiselFontAsciiBannerGeneratorService.ts";
|
|
26
26
|
export type { ChiselBannerColors, ChiselBannerGenerateOptions, } from "./src/service/chiselAsciiBannerGenerator/ChiselFontAsciiBannerGeneratorService.ts";
|
|
27
27
|
export { default as BannerServiceProvider } from "./src/service/banner/BannerServiceProvider.ts";
|
|
28
|
-
export { KEY_VALUE_SERVICE_ID } from "
|
|
29
|
-
export { SECRET_SENTINEL_PREFIX } from "
|
|
30
|
-
export type {
|
|
31
|
-
export type {
|
|
28
|
+
export { KEY_VALUE_SERVICE_ID } from "@flowscripter/dynamic-cli-framework-api";
|
|
29
|
+
export { SECRET_SENTINEL_PREFIX } from "@flowscripter/dynamic-cli-framework-api";
|
|
30
|
+
export type { KeyValueService } from "@flowscripter/dynamic-cli-framework-api";
|
|
31
|
+
export type { SecretService } from "@flowscripter/dynamic-cli-framework-api";
|
|
32
32
|
export { default as DefaultKeyValueService } from "./src/service/configuration/DefaultKeyValueService.ts";
|
|
33
33
|
export { default as DefaultSecretService } from "./src/service/configuration/DefaultSecretService.ts";
|
|
34
34
|
export type { SecretsApi } from "./src/service/configuration/DefaultSecretService.ts";
|
|
35
35
|
export { default as ConfigCommand } from "./src/service/configuration/command/ConfigCommand.ts";
|
|
36
36
|
export { default as ConfigurationServiceProvider } from "./src/service/configuration/ConfigurationServiceProvider.ts";
|
|
37
|
-
export { PRINTER_SERVICE_ID } from "
|
|
38
|
-
export type {
|
|
39
|
-
export { Icon, Level, ProgressStyle, SpinnerStyle } from "
|
|
37
|
+
export { PRINTER_SERVICE_ID } from "@flowscripter/dynamic-cli-framework-api";
|
|
38
|
+
export type { PrinterService } from "@flowscripter/dynamic-cli-framework-api";
|
|
39
|
+
export { Icon, Level, ProgressStyle, SpinnerStyle } from "@flowscripter/dynamic-cli-framework-api";
|
|
40
40
|
export { default as DefaultPrinterService } from "./src/service/printer/DefaultPrinterService.ts";
|
|
41
41
|
export { default as PrinterServiceProvider } from "./src/service/printer/PrinterServiceProvider.ts";
|
|
42
|
-
export { SHUTDOWN_SERVICE_ID } from "
|
|
43
|
-
export type {
|
|
42
|
+
export { SHUTDOWN_SERVICE_ID } from "@flowscripter/dynamic-cli-framework-api";
|
|
43
|
+
export type { ShutdownService } from "@flowscripter/dynamic-cli-framework-api";
|
|
44
44
|
export { default as DefaultShutdownService } from "./src/service/shutdown/DefaultShutdownService.ts";
|
|
45
45
|
export { default as ShutdownServiceProvider } from "./src/service/shutdown/ShutdownServiceProvider.ts";
|
|
46
|
-
export { SYNTAX_HIGHLIGHTER_SERVICE_ID } from "
|
|
47
|
-
export type {
|
|
48
|
-
export type { ColorScheme } from "
|
|
46
|
+
export { SYNTAX_HIGHLIGHTER_SERVICE_ID } from "@flowscripter/dynamic-cli-framework-api";
|
|
47
|
+
export type { SyntaxHighlighterService } from "@flowscripter/dynamic-cli-framework-api";
|
|
48
|
+
export type { ColorScheme } from "@flowscripter/dynamic-cli-framework-api";
|
|
49
49
|
export { default as DefaultSyntaxHighlighterService } from "./src/service/syntaxHighlighter/DefaultSyntaxHighlighterService.ts";
|
|
50
50
|
export { default as SyntaxHighlighterServiceProvider } from "./src/service/syntaxHighlighter/SyntaxHighlighterServiceProvider.ts";
|
|
51
|
-
export { PRETTY_PRINTER_SERVICE_ID } from "
|
|
52
|
-
export type {
|
|
51
|
+
export { PRETTY_PRINTER_SERVICE_ID } from "@flowscripter/dynamic-cli-framework-api";
|
|
52
|
+
export type { PrettyPrinterService } from "@flowscripter/dynamic-cli-framework-api";
|
|
53
53
|
export { default as DefaultPrettyPrinterService } from "./src/service/prettyPrinter/DefaultPrettyPrinterService.ts";
|
|
54
54
|
export { default as PrettyPrinterServiceProvider } from "./src/service/prettyPrinter/PrettyPrinterServiceProvider.ts";
|
|
55
|
-
export { IMAGE_PRINTER_SERVICE_ID } from "
|
|
56
|
-
export type {
|
|
55
|
+
export { IMAGE_PRINTER_SERVICE_ID } from "@flowscripter/dynamic-cli-framework-api";
|
|
56
|
+
export type { ImagePrinterService } from "@flowscripter/dynamic-cli-framework-api";
|
|
57
57
|
export { default as DefaultImagePrinterService } from "./src/service/imagePrinter/DefaultImagePrinterService.ts";
|
|
58
58
|
export { default as ImagePrinterServiceProvider } from "./src/service/imagePrinter/ImagePrinterServiceProvider.ts";
|
|
59
|
-
export { TREE_PRINTER_SERVICE_ID } from "
|
|
60
|
-
export type {
|
|
61
|
-
export type { TreeNode } from "
|
|
59
|
+
export { TREE_PRINTER_SERVICE_ID } from "@flowscripter/dynamic-cli-framework-api";
|
|
60
|
+
export type { TreePrinterService } from "@flowscripter/dynamic-cli-framework-api";
|
|
61
|
+
export type { TreeNode } from "@flowscripter/dynamic-cli-framework-api";
|
|
62
62
|
export { default as DefaultTreePrinterService } from "./src/service/treePrinter/DefaultTreePrinterService.ts";
|
|
63
63
|
export { default as TreePrinterServiceProvider } from "./src/service/treePrinter/TreePrinterServiceProvider.ts";
|
|
64
|
-
export { TABLE_GENERATOR_SERVICE_ID } from "
|
|
65
|
-
export type {
|
|
66
|
-
export { Align, type CellOptions, type ColumnOptions, type RowOptions, type TableOptions, } from "
|
|
67
|
-
export {
|
|
64
|
+
export { TABLE_GENERATOR_SERVICE_ID } from "@flowscripter/dynamic-cli-framework-api";
|
|
65
|
+
export type { TableGeneratorService } from "@flowscripter/dynamic-cli-framework-api";
|
|
66
|
+
export { Align, type CellOptions, type ColumnOptions, type RowOptions, type TableOptions, } from "@flowscripter/dynamic-cli-framework-api";
|
|
67
|
+
export { Table } from "@flowscripter/dynamic-cli-framework-api";
|
|
68
68
|
export { default as DefaultTableGeneratorService } from "./src/service/tableGenerator/DefaultTableGeneratorService.ts";
|
|
69
69
|
export { default as TableGeneratorServiceProvider } from "./src/service/tableGenerator/TableGeneratorServiceProvider.ts";
|
|
70
|
-
export { DATA_DUMP_GENERATOR_SERVICE_ID } from "
|
|
71
|
-
export type {
|
|
72
|
-
export { type ByteRangeColor, DumpFormat, type HexDumpGenerateOptions, } from "
|
|
70
|
+
export { DATA_DUMP_GENERATOR_SERVICE_ID } from "@flowscripter/dynamic-cli-framework-api";
|
|
71
|
+
export type { DataDumpGeneratorService } from "@flowscripter/dynamic-cli-framework-api";
|
|
72
|
+
export { type ByteRangeColor, DumpFormat, type HexDumpGenerateOptions, } from "@flowscripter/dynamic-cli-framework-api";
|
|
73
73
|
export { default as DefaultDataDumpGeneratorService } from "./src/service/dataDumpGenerator/DefaultDataDumpGeneratorService.ts";
|
|
74
74
|
export { default as DataDumpGeneratorServiceProvider } from "./src/service/dataDumpGenerator/DataDumpGeneratorServiceProvider.ts";
|
|
75
|
-
export { COMPLETION_SERVICE_ID } from "
|
|
76
|
-
export type {
|
|
77
|
-
export { type CompletionItem, ShellType } from "
|
|
75
|
+
export { COMPLETION_SERVICE_ID } from "@flowscripter/dynamic-cli-framework-api";
|
|
76
|
+
export type { CompletionService } from "@flowscripter/dynamic-cli-framework-api";
|
|
77
|
+
export { type CompletionItem, ShellType } from "@flowscripter/dynamic-cli-framework-api";
|
|
78
78
|
export { default as DefaultCompletionService } from "./src/service/completion/DefaultCompletionService.ts";
|
|
79
79
|
export { default as CompletionServiceProvider } from "./src/service/completion/CompletionServiceProvider.ts";
|
|
80
|
-
export { PROMPTER_SERVICE_ID } from "
|
|
81
|
-
export type {
|
|
82
|
-
export { type Prompt, type PromptOption, type PromptResult, PromptType, } from "
|
|
80
|
+
export { PROMPTER_SERVICE_ID } from "@flowscripter/dynamic-cli-framework-api";
|
|
81
|
+
export type { PrompterService } from "@flowscripter/dynamic-cli-framework-api";
|
|
82
|
+
export { type Prompt, type PromptOption, type PromptResult, PromptType, } from "@flowscripter/dynamic-cli-framework-api";
|
|
83
83
|
export { default as DefaultPrompterService } from "./src/service/prompter/DefaultPrompterService.ts";
|
|
84
84
|
export { DEFAULT_PROMPTER_CONFIG, type PrompterServiceConfig, } from "./src/service/prompter/DefaultPrompterService.ts";
|
|
85
85
|
export { default as PrompterServiceProvider } from "./src/service/prompter/PrompterServiceProvider.ts";
|
|
86
|
-
export { ARGUMENT_PROMPTER_SERVICE_ID } from "
|
|
87
|
-
export type {
|
|
88
|
-
export type { ParseResult } from "
|
|
86
|
+
export { ARGUMENT_PROMPTER_SERVICE_ID } from "@flowscripter/dynamic-cli-framework-api";
|
|
87
|
+
export type { ArgumentPrompterService } from "@flowscripter/dynamic-cli-framework-api";
|
|
88
|
+
export type { ParseResult } from "@flowscripter/dynamic-cli-framework-api";
|
|
89
89
|
export { default as DefaultArgumentPrompterService } from "./src/service/argumentPrompter/DefaultArgumentPrompterService.ts";
|
|
90
90
|
export { default as ArgumentPrompterServiceProvider } from "./src/service/argumentPrompter/ArgumentPrompterServiceProvider.ts";
|
|
91
|
-
export type { InvalidArgument } from "
|
|
92
|
-
export type {
|
|
93
|
-
export type {
|
|
94
|
-
export
|
|
95
|
-
export type { default as
|
|
96
|
-
export type {
|
|
91
|
+
export type { InvalidArgument } from "@flowscripter/dynamic-cli-framework-api";
|
|
92
|
+
export type { Context } from "@flowscripter/dynamic-cli-framework-api";
|
|
93
|
+
export type { RunResult } from "@flowscripter/dynamic-cli-framework-api";
|
|
94
|
+
export { InvalidArgumentReason, RunState } from "@flowscripter/dynamic-cli-framework-api";
|
|
95
|
+
export type { default as BaseCLIFeatureOptions } from "./src/cli/BaseCLIFeatureOptions.ts";
|
|
96
|
+
export type { CLIConfig } from "@flowscripter/dynamic-cli-framework-api";
|
|
97
|
+
export type { CLI } from "@flowscripter/dynamic-cli-framework-api";
|
|
97
98
|
export { SingleCommandCliHelpGlobalCommand, SingleCommandCliHelpSubCommand, } from "./src/command/SingleCommandCliHelpCommand.ts";
|
|
98
99
|
export { MultiCommandCliHelpGlobalCommand, MultiCommandCliHelpSubCommand, } from "./src/command/MultiCommandCliHelpCommand.ts";
|
|
99
|
-
export type {
|
|
100
|
-
export { DYNAMIC_CLI_FRAMEWORK_COMMAND_FACTORY_EXTENSION_POINT } from "
|
|
101
|
-
export type {
|
|
102
|
-
export { DYNAMIC_CLI_FRAMEWORK_SERVICE_PROVIDER_FACTORY_EXTENSION_POINT } from "
|
|
103
|
-
export { PLUGIN_SERVICE_ID } from "
|
|
104
|
-
export type {
|
|
100
|
+
export type { CommandFactory } from "@flowscripter/dynamic-cli-framework-api";
|
|
101
|
+
export { DYNAMIC_CLI_FRAMEWORK_COMMAND_FACTORY_EXTENSION_POINT } from "@flowscripter/dynamic-cli-framework-api";
|
|
102
|
+
export type { ServiceProviderFactory } from "@flowscripter/dynamic-cli-framework-api";
|
|
103
|
+
export { DYNAMIC_CLI_FRAMEWORK_SERVICE_PROVIDER_FACTORY_EXTENSION_POINT } from "@flowscripter/dynamic-cli-framework-api";
|
|
104
|
+
export { PLUGIN_SERVICE_ID } from "@flowscripter/dynamic-cli-framework-api";
|
|
105
|
+
export type { PluginService } from "@flowscripter/dynamic-cli-framework-api";
|
|
105
106
|
export { default as DefaultPluginServiceProvider } from "./src/service/plugin/DefaultPluginServiceProvider.ts";
|
|
106
107
|
export { default as BaseCLI } from "./src/cli/BaseCLI.ts";
|
|
107
108
|
export { default as DefaultRuntimeCLI } from "./src/cli/DefaultRuntimeCLI.ts";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AACA,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AACA,YAAY,EAAE,QAAQ,EAAE,MAAM,yCAAyC,CAAC;AACxE,YAAY,EACV,uBAAuB,EACvB,cAAc,EACd,iBAAiB,EACjB,gCAAgC,EAChC,uBAAuB,EACvB,0BAA0B,GAC3B,MAAM,yCAAyC,CAAC;AACjD,OAAO,EACL,qBAAqB,EACrB,oBAAoB,GACrB,MAAM,yCAAyC,CAAC;AACjD,YAAY,EAAE,aAAa,EAAE,MAAM,yCAAyC,CAAC;AAC7E,OAAO,EAAE,oCAAoC,EAAE,MAAM,yCAAyC,CAAC;AAC/F,YAAY,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAClF,OAAO,EAAE,2BAA2B,EAAE,MAAM,yCAAyC,CAAC;AACtF,YAAY,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AACrF,YAAY,EAAE,MAAM,EAAE,MAAM,yCAAyC,CAAC;AACtE,YAAY,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAC;AAG1E,YAAY,EAAE,OA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,IAAI,SAAS,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAClF,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAGzE,OAAO,EACL,qBAAqB,EACrB,sBAAsB,EACtB,kCAAkC,GACnC,MAAM,mBAAmB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,64 +1,65 @@
|
|
|
1
|
-
export { ArgumentValueTypeName, ComplexValueTypeName, } from "
|
|
2
|
-
export { MAXIMUM_COMPLEX_OPTION_NESTING_DEPTH } from "
|
|
3
|
-
export { MAXIMUM_ARGUMENT_ARRAY_SIZE } from "
|
|
1
|
+
export { ArgumentValueTypeName, ComplexValueTypeName, } from "@flowscripter/dynamic-cli-framework-api";
|
|
2
|
+
export { MAXIMUM_COMPLEX_OPTION_NESTING_DEPTH } from "@flowscripter/dynamic-cli-framework-api";
|
|
3
|
+
export { MAXIMUM_ARGUMENT_ARRAY_SIZE } from "@flowscripter/dynamic-cli-framework-api";
|
|
4
4
|
// Core Services
|
|
5
|
-
export { ASCII_BANNER_GENERATOR_SERVICE_ID } from "
|
|
5
|
+
export { ASCII_BANNER_GENERATOR_SERVICE_ID } from "@flowscripter/dynamic-cli-framework-api";
|
|
6
6
|
export { default as DefaultAsciiBannerGeneratorService } from "./src/service/asciiBannerGenerator/DefaultAsciiBannerGeneratorService.js";
|
|
7
7
|
export { default as AsciiBannerGeneratorServiceProvider } from "./src/service/asciiBannerGenerator/AsciiBannerGeneratorServiceProvider.js";
|
|
8
8
|
export { default as ChiselFontAsciiBannerGeneratorService } from "./src/service/chiselAsciiBannerGenerator/ChiselFontAsciiBannerGeneratorService.js";
|
|
9
9
|
export { default as BannerServiceProvider } from "./src/service/banner/BannerServiceProvider.js";
|
|
10
|
-
export { KEY_VALUE_SERVICE_ID } from "
|
|
11
|
-
export { SECRET_SENTINEL_PREFIX } from "
|
|
10
|
+
export { KEY_VALUE_SERVICE_ID } from "@flowscripter/dynamic-cli-framework-api";
|
|
11
|
+
export { SECRET_SENTINEL_PREFIX } from "@flowscripter/dynamic-cli-framework-api";
|
|
12
12
|
export { default as DefaultKeyValueService } from "./src/service/configuration/DefaultKeyValueService.js";
|
|
13
13
|
export { default as DefaultSecretService } from "./src/service/configuration/DefaultSecretService.js";
|
|
14
14
|
export { default as ConfigCommand } from "./src/service/configuration/command/ConfigCommand.js";
|
|
15
15
|
export { default as ConfigurationServiceProvider } from "./src/service/configuration/ConfigurationServiceProvider.js";
|
|
16
|
-
export { PRINTER_SERVICE_ID } from "
|
|
17
|
-
export { Icon, Level, ProgressStyle, SpinnerStyle } from "
|
|
16
|
+
export { PRINTER_SERVICE_ID } from "@flowscripter/dynamic-cli-framework-api";
|
|
17
|
+
export { Icon, Level, ProgressStyle, SpinnerStyle } from "@flowscripter/dynamic-cli-framework-api";
|
|
18
18
|
export { default as DefaultPrinterService } from "./src/service/printer/DefaultPrinterService.js";
|
|
19
19
|
export { default as PrinterServiceProvider } from "./src/service/printer/PrinterServiceProvider.js";
|
|
20
|
-
export { SHUTDOWN_SERVICE_ID } from "
|
|
20
|
+
export { SHUTDOWN_SERVICE_ID } from "@flowscripter/dynamic-cli-framework-api";
|
|
21
21
|
export { default as DefaultShutdownService } from "./src/service/shutdown/DefaultShutdownService.js";
|
|
22
22
|
export { default as ShutdownServiceProvider } from "./src/service/shutdown/ShutdownServiceProvider.js";
|
|
23
|
-
export { SYNTAX_HIGHLIGHTER_SERVICE_ID } from "
|
|
23
|
+
export { SYNTAX_HIGHLIGHTER_SERVICE_ID } from "@flowscripter/dynamic-cli-framework-api";
|
|
24
24
|
export { default as DefaultSyntaxHighlighterService } from "./src/service/syntaxHighlighter/DefaultSyntaxHighlighterService.js";
|
|
25
25
|
export { default as SyntaxHighlighterServiceProvider } from "./src/service/syntaxHighlighter/SyntaxHighlighterServiceProvider.js";
|
|
26
|
-
export { PRETTY_PRINTER_SERVICE_ID } from "
|
|
26
|
+
export { PRETTY_PRINTER_SERVICE_ID } from "@flowscripter/dynamic-cli-framework-api";
|
|
27
27
|
export { default as DefaultPrettyPrinterService } from "./src/service/prettyPrinter/DefaultPrettyPrinterService.js";
|
|
28
28
|
export { default as PrettyPrinterServiceProvider } from "./src/service/prettyPrinter/PrettyPrinterServiceProvider.js";
|
|
29
|
-
export { IMAGE_PRINTER_SERVICE_ID } from "
|
|
29
|
+
export { IMAGE_PRINTER_SERVICE_ID } from "@flowscripter/dynamic-cli-framework-api";
|
|
30
30
|
export { default as DefaultImagePrinterService } from "./src/service/imagePrinter/DefaultImagePrinterService.js";
|
|
31
31
|
export { default as ImagePrinterServiceProvider } from "./src/service/imagePrinter/ImagePrinterServiceProvider.js";
|
|
32
|
-
export { TREE_PRINTER_SERVICE_ID } from "
|
|
32
|
+
export { TREE_PRINTER_SERVICE_ID } from "@flowscripter/dynamic-cli-framework-api";
|
|
33
33
|
export { default as DefaultTreePrinterService } from "./src/service/treePrinter/DefaultTreePrinterService.js";
|
|
34
34
|
export { default as TreePrinterServiceProvider } from "./src/service/treePrinter/TreePrinterServiceProvider.js";
|
|
35
|
-
export { TABLE_GENERATOR_SERVICE_ID } from "
|
|
36
|
-
export { Align, } from "
|
|
37
|
-
export {
|
|
35
|
+
export { TABLE_GENERATOR_SERVICE_ID } from "@flowscripter/dynamic-cli-framework-api";
|
|
36
|
+
export { Align, } from "@flowscripter/dynamic-cli-framework-api";
|
|
37
|
+
export { Table } from "@flowscripter/dynamic-cli-framework-api";
|
|
38
38
|
export { default as DefaultTableGeneratorService } from "./src/service/tableGenerator/DefaultTableGeneratorService.js";
|
|
39
39
|
export { default as TableGeneratorServiceProvider } from "./src/service/tableGenerator/TableGeneratorServiceProvider.js";
|
|
40
|
-
export { DATA_DUMP_GENERATOR_SERVICE_ID } from "
|
|
41
|
-
export { DumpFormat, } from "
|
|
40
|
+
export { DATA_DUMP_GENERATOR_SERVICE_ID } from "@flowscripter/dynamic-cli-framework-api";
|
|
41
|
+
export { DumpFormat, } from "@flowscripter/dynamic-cli-framework-api";
|
|
42
42
|
export { default as DefaultDataDumpGeneratorService } from "./src/service/dataDumpGenerator/DefaultDataDumpGeneratorService.js";
|
|
43
43
|
export { default as DataDumpGeneratorServiceProvider } from "./src/service/dataDumpGenerator/DataDumpGeneratorServiceProvider.js";
|
|
44
|
-
export { COMPLETION_SERVICE_ID } from "
|
|
45
|
-
export { ShellType } from "
|
|
44
|
+
export { COMPLETION_SERVICE_ID } from "@flowscripter/dynamic-cli-framework-api";
|
|
45
|
+
export { ShellType } from "@flowscripter/dynamic-cli-framework-api";
|
|
46
46
|
export { default as DefaultCompletionService } from "./src/service/completion/DefaultCompletionService.js";
|
|
47
47
|
export { default as CompletionServiceProvider } from "./src/service/completion/CompletionServiceProvider.js";
|
|
48
|
-
export { PROMPTER_SERVICE_ID } from "
|
|
49
|
-
export { PromptType, } from "
|
|
48
|
+
export { PROMPTER_SERVICE_ID } from "@flowscripter/dynamic-cli-framework-api";
|
|
49
|
+
export { PromptType, } from "@flowscripter/dynamic-cli-framework-api";
|
|
50
50
|
export { default as DefaultPrompterService } from "./src/service/prompter/DefaultPrompterService.js";
|
|
51
51
|
export { DEFAULT_PROMPTER_CONFIG, } from "./src/service/prompter/DefaultPrompterService.js";
|
|
52
52
|
export { default as PrompterServiceProvider } from "./src/service/prompter/PrompterServiceProvider.js";
|
|
53
|
-
export { ARGUMENT_PROMPTER_SERVICE_ID } from "
|
|
53
|
+
export { ARGUMENT_PROMPTER_SERVICE_ID } from "@flowscripter/dynamic-cli-framework-api";
|
|
54
54
|
export { default as DefaultArgumentPrompterService } from "./src/service/argumentPrompter/DefaultArgumentPrompterService.js";
|
|
55
55
|
export { default as ArgumentPrompterServiceProvider } from "./src/service/argumentPrompter/ArgumentPrompterServiceProvider.js";
|
|
56
|
+
export { InvalidArgumentReason, RunState } from "@flowscripter/dynamic-cli-framework-api";
|
|
56
57
|
// Help Commands
|
|
57
58
|
export { SingleCommandCliHelpGlobalCommand, SingleCommandCliHelpSubCommand, } from "./src/command/SingleCommandCliHelpCommand.js";
|
|
58
59
|
export { MultiCommandCliHelpGlobalCommand, MultiCommandCliHelpSubCommand, } from "./src/command/MultiCommandCliHelpCommand.js";
|
|
59
|
-
export { DYNAMIC_CLI_FRAMEWORK_COMMAND_FACTORY_EXTENSION_POINT } from "
|
|
60
|
-
export { DYNAMIC_CLI_FRAMEWORK_SERVICE_PROVIDER_FACTORY_EXTENSION_POINT } from "
|
|
61
|
-
export { PLUGIN_SERVICE_ID } from "
|
|
60
|
+
export { DYNAMIC_CLI_FRAMEWORK_COMMAND_FACTORY_EXTENSION_POINT } from "@flowscripter/dynamic-cli-framework-api";
|
|
61
|
+
export { DYNAMIC_CLI_FRAMEWORK_SERVICE_PROVIDER_FACTORY_EXTENSION_POINT } from "@flowscripter/dynamic-cli-framework-api";
|
|
62
|
+
export { PLUGIN_SERVICE_ID } from "@flowscripter/dynamic-cli-framework-api";
|
|
62
63
|
export { default as DefaultPluginServiceProvider } from "./src/service/plugin/DefaultPluginServiceProvider.js";
|
|
63
64
|
// Core CLI
|
|
64
65
|
export { default as BaseCLI } from "./src/cli/BaseCLI.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import type CLI from "
|
|
2
|
-
import type RunResult from "
|
|
3
|
-
import type Command from "
|
|
4
|
-
import type { ServiceProvider } from "
|
|
5
|
-
import type CLIConfig from "
|
|
1
|
+
import type { CLI } from "@flowscripter/dynamic-cli-framework-api";
|
|
2
|
+
import type { RunResult } from "@flowscripter/dynamic-cli-framework-api";
|
|
3
|
+
import type { Command } from "@flowscripter/dynamic-cli-framework-api";
|
|
4
|
+
import type { ServiceProvider } from "@flowscripter/dynamic-cli-framework-api";
|
|
5
|
+
import type { CLIConfig } from "@flowscripter/dynamic-cli-framework-api";
|
|
6
6
|
import { WritableStream } from "node:stream/web";
|
|
7
7
|
import type Terminal from "../terminal/Terminal.ts";
|
|
8
8
|
import type Styler from "../terminal/Styler.ts";
|
|
9
9
|
import type KeyReader from "../terminal/KeyReader.ts";
|
|
10
|
-
import type BaseCLIFeatureOptions from "
|
|
10
|
+
import type BaseCLIFeatureOptions from "./BaseCLIFeatureOptions.ts";
|
|
11
11
|
/**
|
|
12
12
|
* Base implementation of a {@link CLI}.
|
|
13
13
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseCLI.d.ts","sourceRoot":"","sources":["../../../src/cli/BaseCLI.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"BaseCLI.d.ts","sourceRoot":"","sources":["../../../src/cli/BaseCLI.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,yCAAyC,CAAC;AACnE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAIzE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,yCAAyC,CAAC;AAGvE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAC/E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AA4BzE,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,QAAQ,MAAM,yBAAyB,CAAC;AAGpD,OAAO,KAAK,MAAM,MAAM,uBAAuB,CAAC;AAChD,OAAO,KAAK,SAAS,MAAM,0BAA0B,CAAC;AACtD,OAAO,KAAK,qBAAqB,MAAM,4BAA4B,CAAC;AAYpE;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,CAAC,OAAO,OAAO,OAAQ,YAAW,GAAG;;gBAavC,SAAS,EAAE,SAAS,EACpB,oBAAoB,EAAE,cAAc,EACpC,oBAAoB,EAAE,cAAc,EACpC,aAAa,EAAE,OAAO,EACtB,aAAa,EAAE,OAAO,EACtB,cAAc,EAAE,QAAQ,EACxB,cAAc,EAAE,QAAQ,EACxB,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,SAAS,EACpB,OAAO,CAAC,EAAE,qBAAqB;IA2DjC;;;;;;;OAOG;IACI,kBAAkB,CAAC,eAAe,EAAE,eAAe;IAI1D;;;;;;;;OAQG;IACI,UAAU,CAAC,OAAO,EAAE,OAAO;IAU5B,GAAG,CAAC,IAAI,EAAE,aAAa,CAAC,MAAM,CAAC,GAAG,OAAO,CAAC,SAAS,CAAC;CAuJ3D"}
|
package/dist/src/cli/BaseCLI.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RunState } from "
|
|
1
|
+
import { RunState } from "@flowscripter/dynamic-cli-framework-api";
|
|
2
2
|
import getLogger from "../util/logger.js";
|
|
3
3
|
import DefaultCommandRegistry from "../runtime/registry/DefaultCommandRegistry.js";
|
|
4
4
|
import DefaultServiceProviderRegistry from "../runtime/registry/DefaultServiceProviderRegistry.js";
|
|
@@ -219,7 +219,6 @@ export default class BaseCLI {
|
|
|
219
219
|
if (shutdownState.shutdownRequested || error.message === "Interrupted") {
|
|
220
220
|
return { runState: RunState.INTERRUPTED };
|
|
221
221
|
}
|
|
222
|
-
logger.error("Runtime error: %s", error.message);
|
|
223
222
|
await printRuntimeError(this.#context, error);
|
|
224
223
|
return {
|
|
225
224
|
runState: RunState.RUNTIME_ERROR,
|