Skip to content

feat: add CLI wrapper script for container management#124

Draft
cmagina wants to merge 1 commit intoredhat-et:mainfrom
cmagina:pr-10-cli-tool
Draft

feat: add CLI wrapper script for container management#124
cmagina wants to merge 1 commit intoredhat-et:mainfrom
cmagina:pr-10-cli-tool

Conversation

@cmagina
Copy link
Copy Markdown
Collaborator

@cmagina cmagina commented Feb 7, 2026

Summary

This PR is part 10 of 11 in the rework modernization effort. It adds a CLI wrapper script for easier container management.

Changes:

  • ✅ Add triton-dev-containers.sh CLI tool

Features:

  • User-friendly command-line interface
  • Wraps Makefile targets with better UX
  • Provides help and usage information
  • Simplifies common container operations
  • Supports all framework and variant combinations

Why this change?

While the Makefile (PR #122) provides powerful functionality, it can be:

  • Intimidating for new users
  • Verbose to use (long make commands with many options)
  • Less discoverable (requires reading Makefile or docs)

The CLI tool addresses this by:

  • Providing a more intuitive interface
  • Lowering the barrier to entry
  • Offering better help/usage information
  • Simplifying common workflows
  • Still leveraging the Makefile under the hood

Example usage:

# Build images
./triton-dev-containers.sh build cuda

# Run containers
./triton-dev-containers.sh run cuda --triton

# Get help
./triton-dev-containers.sh help

Testing:

Dependencies:

🤖 Generated with Claude Code

Add triton-dev-containers.sh as a convenient CLI tool for managing
development containers without requiring direct Makefile interaction.

Features:
- User-friendly command-line interface
- Wraps Makefile targets with better UX
- Provides help and usage information
- Simplifies common container operations
- Supports all framework and variant combinations

Benefits:
- Lowers barrier to entry for new users
- Provides a more intuitive interface than make commands
- Maintains all functionality of the Makefile
- Can be used as a standalone script

This tool complements the Makefile (PR redhat-et#122) by providing an
alternative interface that some users may find more accessible.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
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.

1 participant