Actions
Feature #6088
closedcommand-line access to the "export" functionality
Start date:
07/10/2023
Due date:
% Done:
100%
Spec Reference:
Description
It would be great to have direct access to the "export" command from the command line arguments of pySim-shell.py. This way one could avoid having to resort to:
- interactively logging into the shell and issuing the command, or
- piping "export" into stdin (like
echo "export" | ./pySim-shell.py -p0 > /tmp/export.txt
). Which will then add the "welcome' messages of pySim-shell to the start of the output file, which means it cannot be used as script-input to pySim again
The closest current approximation is probably echo "export > /tmp/export.txt" | ./pySim-shell.-py
- which then doesn't allow for a verify_adm command. echo "verify_adm; export" ...
doesn't seem to work either.
Updated by laforge 10 months ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Applied in changeset pysim|38306dfc047c5dabcd4995ce82f1c15099c830de.
Actions