Add /export and /mcp-status commands
- /export command to export session data as Markdown or JSON - Export for sharing with other Claude instances - Include session details, topics, summary, and memory items - /mcp-status command to check MCP integration health - Gmail venv and credentials status - Calendar API dependencies - Delegation helpers presence - MCP server configuration - Updated shell completions with 15 aliases total - Test suite now covers 23 tests 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -33,6 +33,18 @@ _claude_debug() {
|
||||
COMPREPLY=($(compgen -W "--full --json --paths" -- "${cur}"))
|
||||
}
|
||||
|
||||
_claude_export() {
|
||||
local cur="${COMP_WORDS[COMP_CWORD]}"
|
||||
|
||||
COMPREPLY=($(compgen -W "--list --format --output" -- "${cur}"))
|
||||
}
|
||||
|
||||
_claude_mcp_status() {
|
||||
local cur="${COMP_WORDS[COMP_CWORD]}"
|
||||
|
||||
COMPREPLY=($(compgen -W "--json" -- "${cur}"))
|
||||
}
|
||||
|
||||
_claude_memory_add() {
|
||||
local cur="${COMP_WORDS[COMP_CWORD]}"
|
||||
local prev="${COMP_WORDS[COMP_CWORD-1]}"
|
||||
@@ -66,6 +78,8 @@ complete -F _claude_search search.py
|
||||
complete -F _claude_history history-browser.py
|
||||
complete -F _claude_log log-viewer.py
|
||||
complete -F _claude_debug debug.sh
|
||||
complete -F _claude_export session-export.py
|
||||
complete -F _claude_mcp_status mcp-status.sh
|
||||
|
||||
# Alias completions for convenience
|
||||
alias claude-validate='~/.claude/automation/validate-setup.sh'
|
||||
@@ -82,7 +96,9 @@ alias claude-test='~/.claude/automation/test-scripts.sh'
|
||||
alias claude-maintenance='~/.claude/automation/daily-maintenance.sh'
|
||||
alias claude-log='python3 ~/.claude/automation/log-viewer.py'
|
||||
alias claude-debug='~/.claude/automation/debug.sh'
|
||||
alias claude-export='python3 ~/.claude/automation/session-export.py'
|
||||
alias claude-mcp='~/.claude/automation/mcp-status.sh'
|
||||
|
||||
echo "Claude Code completions loaded. Available aliases:"
|
||||
echo " claude-{validate,status,backup,restore,clean,memory-add,memory-list}"
|
||||
echo " claude-{search,history,install,test,maintenance,log,debug}"
|
||||
echo " claude-{search,history,install,test,maintenance,log,debug,export,mcp}"
|
||||
|
||||
Reference in New Issue
Block a user