Skip to content

Commit

Permalink
πŸš€ chore(package.json): update luminar dependency to version 0.0.5
Browse files Browse the repository at this point in the history
✨ feat(cli.ts): add support for commands and command options
✨ feat(command.ts): add command function to create commands with options and parameters
✨ feat(index.ts): export cli, command, and Renderers
The luminar dependency has been updated to version 0.0.5. The cli.ts file now supports commands and command options. The command.ts file has been added to create commands with options and parameters. The index.ts file now exports cli, command, and Renderers.

πŸŽ‰ feat(generate-help.ts, index.ts, render-luminars.ts): add generateHelp function and renderLuminars utility function to render help documentation
The generateHelp function generates a help document node array based on the provided options. It generates the name and version, description, usage, commands, luminars, examples, and aliases sections of the help document. The renderLuminars function is a utility function that renders the luminars section of the help document. It takes in a Luminars object and returns a table of luminars with their descriptions.

πŸŽ‰ feat(renderers.ts, types.ts, convert-case.ts, is-script-name.ts): add new files and functions to support rendering help documentation
The `renderers.ts` file contains a class that defines methods for rendering different types of help documentation. The `types.ts` file contains interfaces and types used in the script, including the `HelpDocumentNode` interface used to define the structure of the help documentation. The `convert-case.ts` file contains functions for converting strings to camelCase and kebab-case. The `is-script-name.ts` file contains a regular expression pattern used to validate script names. These changes were made to support the rendering of help documentation for the script.
  • Loading branch information
nyxb committed May 21, 2023
1 parent f628b53 commit 7ead647
Show file tree
Hide file tree
Showing 12 changed files with 4,476 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
},
"dependencies": {
"tabletron": "^0.0.2",
"luminar": "^0.0.4"
"luminar": "^0.0.5"
},
"devDependencies": {
"@nyxb/picocolors": "1.0.2",
Expand Down
Loading

0 comments on commit 7ead647

Please sign in to comment.