gcli icon indicating copy to clipboard operation
gcli copied to clipboard

How to disable the global options?

Open shrinidhi111 opened this issue 2 years ago • 1 comments

shrinidhi111 avatar Mar 06 '22 12:03 shrinidhi111

Why, is there any special scene? :)

inhere avatar Mar 07 '22 06:03 inhere

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

H-hao avatar Aug 11 '22 02:08 H-hao

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

inhere avatar Aug 11 '22 04:08 inhere

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

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

H-hao avatar Aug 11 '22 05:08 H-hao

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

inhere avatar Aug 11 '22 08:08 inhere

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

感谢。

H-hao avatar Aug 11 '22 09:08 H-hao

hi @H-hao @shrinidhi111

Updated on v3.0.5:

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

inhere avatar Aug 13 '22 05:08 inhere