@@ -102,6 +102,58 @@ Once the package is installed, you can simply
102102 :lines: 10-
103103 :caption: ``example/ex_0_the_basics.py ``
104104
105+ Executing the script then yields
106+
107+ .. code-block :: text
108+
109+ >>> ./ex_0_the_basics.py --stage hello goodbye
110+ [07:34:19] ╭─────────────────────────────────────────────╮ staged_script.py:937
111+ │ Greeting the user │
112+ ╰─────────────────────────────────────────────╯
113+ Executing: echo 'Hello World' staged_script.py:827
114+ Hello World
115+ `hello` stage duration: 0:00:00.020772 staged_script.py:476
116+ ╭─────────────────────────────────────────────╮ staged_script.py:937
117+ │ Bidding farewell │
118+ ╰─────────────────────────────────────────────╯
119+ Executing: echo 'Goodbye World' staged_script.py:827
120+ Goodbye World
121+ `goodbye` stage duration: 0:00:00.012504 staged_script.py:476
122+ ───────────────── ex_0_the_basics.py Script Execution Summary ─────────────────
123+ staged_script.py:920
124+ ➤ Ran the following:
125+
126+ ex_0_the_basics.py \
127+ --stage hello goodbye \
128+ --hello-retry-attempts 0 \
129+ --hello-retry-delay 0 \
130+ --hello-retry-timeout 60 \
131+ --goodbye-retry-attempts 0 \
132+ --goodbye-retry-delay 0 \
133+ --goodbye-retry-timeout 60
134+
135+ ➤ Commands executed:
136+
137+ echo 'Hello World'
138+ echo 'Goodbye World'
139+
140+ ➤ Timing results:
141+
142+ ┏━━━━━━━━━┳━━━━━━━━━━━━━━━━┓
143+ ┃ Stage ┃ Duration ┃
144+ ┡━━━━━━━━━╇━━━━━━━━━━━━━━━━┩
145+ │ hello │ 0:00:00.020772 │
146+ │ goodbye │ 0:00:00.012504 │
147+ ├─────────┼────────────────┤
148+ │ Total │ 0:00:00.035295 │
149+ └─────────┴────────────────┘
150+
151+ ➤ Script result:
152+
153+ Success
154+
155+ ─────────────── End ex_0_the_basics.py Script Execution Summary ───────────────
156+
105157 For more detailed usage information, see the :doc: `examples ` page. For
106158implementation details, see the :doc: `reference ` documentation.
107159
0 commit comments