Skip to content

Conversation

@HanslettTheDev
Copy link

This PR maintains the history of @Veebaa
This PR aims to close issue #3076 and continues from where Veeba left of

Rowlando13 and others added 13 commits November 24, 2025 23:35
…ovement

Merged veeba's contribution to my local branch
…ions to provide more context to a beginner what a cli is, and added the requirements needed to follow the tutorial
…ent commands not interacting with a system, which sounds generic
…nd the scope of the tutorial. kept it simple and clean for users to see what command to run.
…s removing powershell links. And uses the myst format for links
… command-line-tutorial to keep the naming convention consistent as used in the docs folder
@ThiefMaster
Copy link
Member

Please note that you can just forcepush to your PR branch, no need to recreate/reopen PRs

@HanslettTheDev
Copy link
Author

@ThiefMaster Noted. I didn't want to overwrite the history.
I avoid using git rebase as much as possible. I just wanted to separate my changes incrementally with more detailed commit messages

@@ -0,0 +1,173 @@
# Command line basics — Introduction to command line interfaces (CLIs)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change to Command Line Basics

This short, hands-on tutorial gives developers the minimal set of command-line skills needed to start using or building Click-based CLIs.
It is written for beginners who may have little or no command line experience.
All examples provide commands for both macOS/Linux (Bash) and Windows (cmd).

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rephrase: This tutorial shows the developer the basics of using the command line. It should take about 20 minutes to complete.

The user will see the multishell support so no need to mention it. The title already conveys that this is for beginners.

```

First Let's understand what a command line interface is.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove.


A Command Line Interface (CLI) is a text-based way to interact with your computer.
Instead of clicking icons or buttons, you type commands into a terminal or console window.
CLIs are powerful tools for developers and system administrators because they allow for automation, scripting, and remote access to systems.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rephrase: Instead of clicking icons or buttons, you type commands into a terminal.

The shell parses the command, identifying the action, options, and arguments. It locates the command in the system’s PATH and executes it. The system returns output (e.g., data, error messages) to the CLI.

## What you will learn

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this section. Change the headings so that the contents directive will do this work for you.

- Search inside a file (grep-style)
- View a CLI's help output

## Prerequisites
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove. Every computer has these things.

- Creating and editing small files is how you try things quickly from the terminal without opening a full IDE.
- Grep-style searching is essential for finding text in logs, configs, or code.
- Most CLIs expose `--help` (or `-h`) which documents commands, options, and usage.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have the right idea with the commands and explanations but they need to be interwoven and gone through one by one. Use the tabs shown in the virtualenv tutorial to go through them one by one. I realize this will make you use restructured text for the blocks. Once all the docs are markdown, I plan to find a suitable replacement for the plugin that will work for myst.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually looks like Sphinx-tabs supports myst as of 2020, so should be good. https://github.com/executablebooks/sphinx-tabs/blob/master/CHANGELOG.md#130---2020-09-08

@Rowlando13 Rowlando13 changed the base branch from main to stable December 24, 2025 22:48
@Rowlando13
Copy link
Collaborator

@HanslettTheDev @Veebaa Good job! Don't be put off by the number of comments. Good tutorials always require a good amount of back and forth.

@Rowlando13 Rowlando13 marked this pull request as draft December 24, 2025 22:50
@HanslettTheDev
Copy link
Author

Thank you. I'll make the changes as requested

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants