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

How to disable the global options? #42

Closed
shrinidhi111 opened this issue Mar 6, 2022 · 7 comments
Closed

How to disable the global options? #42

shrinidhi111 opened this issue Mar 6, 2022 · 7 comments
Assignees
Labels
enhancement New feature or request implemented

Comments

@shrinidhi111
Copy link

No description provided.

@inhere inhere self-assigned this Mar 6, 2022
@inhere inhere added the question Further information is requested label Mar 7, 2022
@inhere
Copy link
Member

inhere commented Mar 7, 2022

Why, is there any special scene? :)

@H-hao
Copy link

H-hao commented Aug 11, 2022

@inhere 你好,请问下 --help里面的--ishell Run in an interactive shell environment(TODO)的todo是还没完成吗?

@inhere
Copy link
Member

inhere commented Aug 11, 2022

是的,一个想法记录,还没实现的 :)

@H-hao
Copy link

H-hao commented Aug 11, 2022

是的,一个想法记录,还没实现的 :)

所以我也在想能不能屏蔽 global options,因为最终成品交付后发现help里还有个todo,感觉有点不太合适。

@inhere
Copy link
Member

inhere commented Aug 11, 2022

嗯,我调整下,下个小版本发布

@inhere inhere added the enhancement New feature or request label Aug 11, 2022
@H-hao
Copy link

H-hao commented Aug 11, 2022

嗯,我调整下,下个小版本发布

感谢。

@inhere inhere added implemented and removed question Further information is requested labels Aug 13, 2022
@inhere
Copy link
Member

inhere commented Aug 13, 2022

hi @H-hao @shrinidhi111

Updated on v3.0.5:

	// disable global options
	gcli.GOpts().SetDisable()

@inhere inhere closed this as completed Aug 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request implemented
Projects
None yet
Development

No branches or pull requests

3 participants