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

claat: support user-input in command-line snippets #24

Open
simos opened this issue Feb 15, 2017 · 1 comment
Open

claat: support user-input in command-line snippets #24

simos opened this issue Feb 15, 2017 · 1 comment
Labels
feature request Category label for feature requests

Comments

@simos
Copy link

simos commented Feb 15, 2017

The command-line snippet can be enhanced in order to show which is the user-input text among the text output of the commands.

Existing codelabs are using different conventions in showing command-line commands. Some are omitting the shell prompt altogether, others do not show any output from the commands which can be confusing to the users.

For a codelabs author, they should just make bold the parts of the command-line input that is actual user-input. Then claat should show this text in a distinctive way to denote user-input.

See screenshot of commands with user-input in bold

@x1ddos
Copy link
Contributor

x1ddos commented Apr 24, 2018

Yeah, many codelabs are not uniform. The disadvantage of this is that a hypothetical click-to-copy button would be useless. We were trying to encourage authors to provide snippets without the a shell prompt.

Not sure about pros and cons though.

@cassierecher cassierecher added the feature request Category label for feature requests label Aug 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Category label for feature requests
Projects
None yet
Development

No branches or pull requests

3 participants