Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 支持通过arthas session data来添命令的附加参数,以减少不必要重复输入 #2715

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Oct 28, 2023

  1. feat: session命令支持显示和设置session data

    以便可以设置上下文参供其他命令提供默认值
    qxo committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    19895b4 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2023

  1. feat: 支持通过arthas session data来添命令的附加参数,以减少不必要重复输入

    附加参数名称的格式为${arthas-cmd}-args
    trace对应的是trace-args watch对应的watch-args
    
    ie:
    ```
    session -I 'trace-args=-n 3 -v'
    ```
    这样以后的trace命令就不自动附加上述参数了
    
    要清除可用:`session -I *`(清除所有) 或 `session -I 'trace-args= ``(清除指定的)
    qxo committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    2883c4a View commit details
    Browse the repository at this point in the history