Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -177,3 +177,4 @@ docs/
template-bun-executable
/.releaserc
functional_tests/features/support/__pycache__/pexpect_wrapper.cpython-311.pyc
example-cli
2 changes: 1 addition & 1 deletion bun.lock
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
},
"packages": {
"@flowscripter/dynamic-cli-framework": ["@flowscripter/dynamic-cli-framework@1.0.7", "", { "dependencies": { "emphasize": "^7.0.0", "fastest-levenshtein": "^1.0.16", "figlet": "^1.8.0", "highlight.js": "^11.11.1", "supports-color": "^10.0.0", "ts-log": "^2.2.7" }, "peerDependencies": { "typescript": "^5.8.2" } }, "sha512-b+aKuu1kqDkAzBp6XKNoTaZIF22eDCplBag5iXHC+uA7upzMdaBLdLsPYYLJ64v2elj+bfZhliZc4gwJcgZiAQ=="],
"@flowscripter/dynamic-cli-framework": ["@flowscripter/dynamic-cli-framework@1.0.8", "", { "dependencies": { "emphasize": "^7.0.0", "fastest-levenshtein": "^1.0.16", "figlet": "^1.8.0", "highlight.js": "^11.11.1", "supports-color": "^10.0.0", "ts-log": "^2.2.7" }, "peerDependencies": { "typescript": "^5.8.2" } }, "sha512-dyf12LQFHHO6G02otbkb7M1JaO930Xt0ORTFrhPlGsbMeF0sInnT4QOk029aULROxaGYlf96RMVfBZNmwYInoQ=="],

"@types/bun": ["@types/bun@1.2.5", "", { "dependencies": { "bun-types": "1.2.5" } }, "sha512-w2OZTzrZTVtbnJew1pdFmgV99H0/L+Pvw+z1P67HaR18MHOzYnTYOi6qzErhK8HyT+DB782ADVPPE92Xu2/Opg=="],

Expand Down
15 changes: 14 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
{
"name": "@flowscripter/example-cli",
"description": "Simple example CLI using https://github.com/flowscripter/dynamic-cli-framework",
"repository": "@flowscripter/example-cli",
"license": "MIT",
"keywords": [
"bun",
"example",
"plugin",
"framework",
"dynamic",
"import",
"executable",
"cli"
],
"module": "index.ts",
"type": "module",
"version": "1.0.1",
Expand All @@ -13,6 +26,6 @@
"typescript": "^5.8.2"
},
"dependencies": {
"@flowscripter/dynamic-cli-framework": "^1.0.7"
"@flowscripter/dynamic-cli-framework": "^1.0.8"
}
}
2 changes: 1 addition & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export async function cli(): Promise<void> {
await launchMultiCommandCLI(
[command1, command2],
"Simple example CLI using dynamic-cli-framework.",
`example-cli`, // alternatively, name can be derived from executable name if this is not defined
"example-cli", // alternatively, name can be derived from executable name if this is not defined
packageJson.version,
false, // simple example, so disable env vars support for configuration defaults
false, // simple example, so disable configuration support
Expand Down
Loading