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

Conversation

qxo
Copy link
Contributor

@qxo qxo commented Oct 28, 2023

No description provided.

qxo added 2 commits October 28, 2023 17:57
以便可以设置上下文参供其他命令提供默认值
附加参数名称的格式为${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 qxo force-pushed the feat-session-data branch from 1f8f17c to 2883c4a Compare October 29, 2023 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant