Add change 02 instructions

This commit is contained in:
David Doblas Jiménez 2024-02-10 18:57:05 +01:00
parent 25febeecb1
commit 227d6ccd30
1 changed files with 7 additions and 0 deletions

7
how_to/Change_02.md Normal file
View File

@ -0,0 +1,7 @@
- cli: Add argument parser
The real Git executable has multiple sub-commands, like 'git init', 'git commit',
etc. Let's use Python's built-in argument parser argparse to implement sub-commands.
You can see on the other side which changes were made. Now we can run 'ugit init'
and see "Hello, World!" printed out.