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

TUI-apps/CLI-Exercises/README.md at main · learnbyexample/TUI-apps #742

Open
1 task
irthomasthomas opened this issue Mar 16, 2024 · 1 comment
Open
1 task
Labels
CLI-UX Command Line Interface user experience and best practices Code-Interpreter OpenAI Code-Interpreter New-Label Choose this option if the existing labels are insufficient to describe the content accurately software-engineering Best practice for software engineering

Comments

@irthomasthomas
Copy link
Owner

TUI-apps/CLI-Exercises/README.md at main · learnbyexample/TUI-apps

Linux CLI Text Processing Exercises

This TUI application includes 60+ questions to test your CLI text processing skills.

Note
This application is intended for exercises based on Linux CLI tools. You might still be able to solve the exercises on other platforms, but I'm not sure if it works.

Installation

This app is available on PyPI as cliexercises. Example installation instructions are shown below, adjust them based on your preferences and OS.

# virtual environment
$ python3 -m venv textual_apps
$ cd textual_apps
$ source bin/activate
$ pip install cliexercises

# launch the app
$ cliexercises

To run the app without having to enter the virtual environment again, add this alias to .bashrc (or equivalent):

# you'll have to change the path
alias cliexercises='/path/to/textual_apps/bin/cliexercises'

As an alternative, you can install textual (see Textual documentation for more details), clone this repository and run the cli_exercises.py file.

Adjust the terminal dimensions for the widgets to appear properly, for example 84x25 (characters x lines). Here's a sample screenshot:

Sample screenshot for CLI exercises

Guide

See app_guide.md

Video demo

You can view a demo video about this app on Youtube: https://youtu.be/lcm_F7zPzRY

License

Code snippets are licensed under MIT LICENSE

Exercise questions and associated files (like questions.json) are licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License

View on GitHub

Suggested labels

{'label-name': 'text-processing-exercises', 'label-description': 'Exercises for testing CLI text processing skills', 'confidence': 76.45}

@irthomasthomas irthomasthomas added CLI-UX Command Line Interface user experience and best practices Code-Interpreter OpenAI Code-Interpreter New-Label Choose this option if the existing labels are insufficient to describe the content accurately software-engineering Best practice for software engineering labels Mar 16, 2024
@irthomasthomas
Copy link
Owner Author

Related content

#625

Similarity score: 0.87

#309

Similarity score: 0.85

#704

Similarity score: 0.85

#727

Similarity score: 0.85

#712

Similarity score: 0.85

#725

Similarity score: 0.85

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLI-UX Command Line Interface user experience and best practices Code-Interpreter OpenAI Code-Interpreter New-Label Choose this option if the existing labels are insufficient to describe the content accurately software-engineering Best practice for software engineering
Projects
None yet
Development

No branches or pull requests

1 participant