Skip to content

feat: some menu changes, added help for templates, created automatica…#11

Merged
aspectrr merged 2 commits intomainfrom
huss/menu-fixes
Jul 21, 2025
Merged

feat: some menu changes, added help for templates, created automatica…#11
aspectrr merged 2 commits intomainfrom
huss/menu-fixes

Conversation

@hussufo
Copy link
Contributor

@hussufo hussufo commented Jul 21, 2025

This pull request introduces several updates to enhance the Steel CLI project, focusing on documentation, testing, and template management. The most significant changes include the addition of testing environment variables, auto-generated CLI documentation, new test scripts in package.json, and improvements to the handling of templates in the CLI.

Documentation Updates:

  • .env.test.example: Added a template file for testing environment variables, including placeholders for Steel, OpenAI, and Anthropic API keys. This file provides instructions on obtaining the required keys and explains their usage.
  • docs/README.md and docs/cli-reference.md: Introduced auto-generated documentation for the Steel CLI, detailing commands, options, templates, and regeneration instructions. The documentation is generated using the scripts/generate-docs.js script. [1] [2]

Testing Enhancements:

  • package.json: Added test scripts (test, test:unit, test:integration, test:watch) and Jest configuration for unit and integration testing. Removed the previous ava configuration in favor of Jest. [1] [2]

Template Management Improvements:

  • source/components/help.tsx: Enhanced the Help component to include template-specific help for run and forge commands. Added support for displaying available templates using the new TemplateList component. [1] [2] [3]
  • source/components/templatelist.tsx: Created a new TemplateList component to display available templates in a formatted list, including alias, label, and language information.

Code Refinements:

  • source/commands/run.tsx: Improved readability and safety by using optional chaining (settings?.instance) and updated the command description for clarity. [1] [2]
  • source/utils/session.ts: Added debug logging to the getSettings function for better visibility into configuration parsing.

These changes collectively improve the usability, maintainability, and extensibility of the Steel CLI project.…lly generated cli reference docs + test scaffolding

@aspectrr aspectrr merged commit 732c1b3 into main Jul 21, 2025
@aspectrr aspectrr deleted the huss/menu-fixes branch October 28, 2025 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants