Skip to content

Basic CLI Structure #3

@abhibongale

Description

@abhibongale

Build the command-line interface for StackBox using Click framework. This creates the user-facing commands that developers will use.

All commands will be stubs initially - they just print messages and accept arguments. The actual implementation comes in later issues.

Goals

  • Create main CLI entry point with Click
  • Define all command signatures and arguments
  • Add helpful --help text for discoverability
  • Make commands callable (even if they don't do anything yet)

Tasks

  • Create stackbox/cli/__main__.py with main entry point
  • Add stackbox init command (stub)
  • Add stackbox rebuild command (stub)
  • Add stackbox test command (stub)
  • Add stackbox status command (stub)
  • Add stackbox logs command (stub)
  • Add stackbox down command (stub)
  • Add --version flag
  • Add helpful --help text for all commands
  • Test all commands can be invoked
  • Update pyproject.toml with entry point

Acceptance Criteria

  • Can run stackbox --version (shows version)
  • Can run stackbox --help (shows all commands)
  • Can run stackbox init --help (shows command-specific help)
  • All commands are recognized by CLI
  • All commands print stub messages
  • No errors when invoking any command
  • Commands accept expected arguments/options

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions