Summary
Remove all deprecated commands (search, pull, push) and --help flag in a major version release.
Parent: #668 (ls-prompt-ux milestone)
Phase: 4 of 4 (Major Breaking Change)
Design: docs/implementation/ls-prompt-ux-command-redesign.md (section: Phase 4)
Depends on: #727 (Phase 1), #728 (Phase 2), #729 (Phase 3)
Version: v2.0.0
Goals
Complete the transition to the new command structure by:
- Removing
search command entirely (replaced by list [term])
- Removing
pull command entirely (replaced by get)
- Removing
push command entirely (replaced by create and update)
- Removing
--help flag (use help subcommand only)
Implementation Tasks
1. Remove deprecated commands
2. Remove --help flag
3. Update documentation
4. Version bump
Migration Guide (v1.x → v2.0.0)
Command Replacements
| v1.x Command |
v2.0.0 Replacement |
langstar prompt search <term> |
langstar prompt list <term> |
langstar prompt pull <name> |
langstar prompt get <name> |
langstar prompt push -r <name> -t <text> |
langstar prompt create <name> --text <text> (new) |
langstar prompt push -r <name> -t <text> |
langstar prompt update <name> --text <text> (update) |
langstar prompt <cmd> --help |
langstar prompt <cmd> help |
Example Migrations
List/Search:
# v1.x
langstar prompt search "rag"
# v2.0.0
langstar prompt list "rag"
Read prompt:
# v1.x
langstar prompt pull my-prompt
# v2.0.0
langstar prompt get my-prompt
Create prompt:
# v1.x
langstar prompt push -r my-prompt -t "template"
# v2.0.0
langstar prompt create my-prompt --text "template"
Update prompt:
# v1.x
langstar prompt push -r my-prompt -t "updated"
# v2.0.0
langstar prompt update my-prompt --text "updated"
Help:
# v1.x
langstar prompt list --help
# v2.0.0
langstar prompt list help
Testing Requirements
Removal Tests
Functionality Tests
Documentation Tests
Breaking Changes Summary
Removed Commands:
search - Use list <term> instead
pull - Use get instead
push - Use create or update instead
Removed Flags:
--help - Use help subcommand instead
This is a MAJOR version bump because:
- Commands are removed entirely (not just deprecated)
- Users must update their scripts and workflows
- No backward compatibility
Success Criteria
Timeline
This phase should NOT be started until:
- Phases 1-3 are complete and merged
- Users have had time to migrate to new commands (suggest 3-6 months)
- Deprecation warnings have been shown for sufficient time
References
Summary
Remove all deprecated commands (
search,pull,push) and--helpflag in a major version release.Parent: #668 (ls-prompt-ux milestone)
Phase: 4 of 4 (Major Breaking Change)
Design: docs/implementation/ls-prompt-ux-command-redesign.md (section: Phase 4)
Depends on: #727 (Phase 1), #728 (Phase 2), #729 (Phase 3)
Version: v2.0.0
Goals
Complete the transition to the new command structure by:
searchcommand entirely (replaced bylist [term])pullcommand entirely (replaced byget)pushcommand entirely (replaced bycreateandupdate)--helpflag (usehelpsubcommand only)Implementation Tasks
1. Remove deprecated commands
searchcommand implementationpullcommand implementationpushcommand implementation2. Remove
--helpflag--helpflag from all commands--helpis usedhelpsubcommand3. Update documentation
4. Version bump
Migration Guide (v1.x → v2.0.0)
Command Replacements
langstar prompt search <term>langstar prompt list <term>langstar prompt pull <name>langstar prompt get <name>langstar prompt push -r <name> -t <text>langstar prompt create <name> --text <text>(new)langstar prompt push -r <name> -t <text>langstar prompt update <name> --text <text>(update)langstar prompt <cmd> --helplangstar prompt <cmd> helpExample Migrations
List/Search:
Read prompt:
Create prompt:
Update prompt:
Help:
Testing Requirements
Removal Tests
searchcommand no longer existspullcommand no longer existspushcommand no longer exists--helpflag no longer worksFunctionality Tests
listwith search terms workshelpsubcommand worksDocumentation Tests
Breaking Changes Summary
Removed Commands:
search- Uselist <term>insteadpull- Usegetinsteadpush- UsecreateorupdateinsteadRemoved Flags:
--help- Usehelpsubcommand insteadThis is a MAJOR version bump because:
Success Criteria
--helpflag is removedTimeline
This phase should NOT be started until:
References