Skip to content
This repository was archived by the owner on Feb 6, 2026. It is now read-only.

feat(config): add init command and config test for guided setup#59

Merged
piekstra merged 3 commits intomainfrom
piekstra/19-init-command
Jan 29, 2026
Merged

feat(config): add init command and config test for guided setup#59
piekstra merged 3 commits intomainfrom
piekstra/19-init-command

Conversation

@piekstra
Copy link
Copy Markdown
Collaborator

[#19]

Add interactive setup wizard and connectivity test commands for improved CLI UX.

Summary

  • Add jtk init command for interactive guided setup wizard
    • Prompts for URL, email, and API token
    • Verifies connection before saving (--no-verify to skip)
    • Supports non-interactive mode via flags
    • Detects existing config and prompts for overwrite
  • Add jtk config test command for connectivity verification
    • Tests authentication and API access
    • Provides clear pass/fail status with troubleshooting suggestions

Usage

# Interactive setup
jtk init

# Non-interactive setup
jtk init --url https://mycompany.atlassian.net --email user@example.com --token YOUR_TOKEN

# Test connection
jtk config test

Test plan

  • All existing tests pass
  • Lint passes
  • Manual testing of jtk init --help
  • Manual testing of jtk config test
  • Verified connectivity test works with real Jira instance

Closes #19

[#19]

- Add `jtk init` command for interactive guided setup wizard
  - Prompts for URL, email, and API token
  - Verifies connection before saving (--no-verify to skip)
  - Supports non-interactive mode via flags
  - Detects existing config and prompts for overwrite
- Add `jtk config test` command for connectivity verification
  - Tests authentication and API access
  - Provides clear pass/fail status
  - Shows troubleshooting suggestions on failure

Closes #19
@piekstra piekstra merged commit 5035254 into main Jan 29, 2026
2 checks passed
@piekstra piekstra deleted the piekstra/19-init-command branch January 29, 2026 21:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add init command and config test for guided setup and connectivity verification

1 participant