@@ -102,9 +102,9 @@ so initizalize the command-line interface here:
102102
103103.. code-block :: python 
104104
105- 	 if  __name__  ==  " __main__" 
106- 	     from  greetings.cli import  app
107- 	     app()
105+      if  __name__  ==  " __main__" 
106+          from  greetings.cli import  app
107+          app()
108108
109109note ::
110110
@@ -123,8 +123,8 @@ For the project to be recognised as a command-line tool, additionally a ``consol
123123
124124.. code-block :: toml 
125125
126- 	 [project.scripts]
127- 	 greet = "greetings.cli:app"
126+      [project.scripts]
127+      greet = "greetings.cli:app"
128128
129129:term: `distribution package <Distribution Package> `,
130130which makes it installable.
@@ -145,12 +145,12 @@ Let's test it:
145145
146146.. code-block :: console 
147147
148- 	 $ greet --knight Lancelot
149- 	 Greetings, dear Sir Lancelot!
150- 	 $ greet --gender feminine Parks
151- 	 Greetings, dear Ms. Parks!
152- 	 $ greet --gender masculine
153- 	 Greetings, dear Mr. what's-his-name!
148+      $ greet --knight Lancelot
149+      Greetings, dear Sir Lancelot!
150+      $ greet --gender feminine Parks
151+      Greetings, dear Ms. Parks!
152+      $ greet --gender masculine
153+      Greetings, dear Mr. what's-his-name!
154154
155155typer ``, you could now also get an overview of the program's usage by calling it with
156156the ``--help `` option, or configure completions via the ``--install-completion `` option.
@@ -160,7 +160,7 @@ To just run the program without installing it permanently, use ``pipx run``, whi
160160
161161.. code-block :: console 
162162
163- 	 $ pipx run --spec . greet --knight
163+      $ pipx run --spec . greet --knight
164164
165165
166166we need to state explicitly which executable script to run (even though there is only on in existence).
0 commit comments