Interactive flag should be present for options too #55
Unanswered
cmcgee1024
asked this question in
General
Replies: 1 comment 4 replies
-
|
Would it suffice with Option Object having an |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Whether a command is interactive is currently modelled at the OpenCLI document and Command (also subcommand) levels. It is worth noting that there are examples where options can set interactive mode too, such as docker:
Note the
-Ihere represents interactive mode for docker, which might not be entirely mappable to the same concept in OpenCLI. There is also-tthat requests that a (pseudo) tty is allocated, which could be a better fit.There's also the
-tand-Toptions to turn on/off interactive tty for ssh: https://man7.org/linux/man-pages/man1/ssh.1.htmlClaude has a
-pto force interactivity off and into a "prompt" mode.In either case, it's possible that the interactivity of a command line should flow down into options like these to flip in/out of interactive mode.
Beta Was this translation helpful? Give feedback.
All reactions