-
First check
Descriptionsay i have a script like below with two typer commands, where I want to load certain info in one command and then use the info in another command. the code below won't work but it explains what i want, and i wonder if it is possible to do this using typer. then in my command line window, i can do: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
You need some kind of persistence. After you run command and it finishes work, program is closed so no cache will be available for the second command. You can write your results to some file or you could use sqlite3 within python. |
Beta Was this translation helpful? Give feedback.
-
|
See also: #185 |
Beta Was this translation helpful? Give feedback.
You need some kind of persistence. After you run command and it finishes work, program is closed so no cache will be available for the second command. You can write your results to some file or you could use sqlite3 within python.