Project

General

Profile

Actions

Feature #6088

closed

command-line access to the "export" functionality

Added by laforge 10 months ago. Updated 10 months ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
pySim-shell
Target version:
-
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.

Actions #1

Updated by laforge 10 months ago

  • Category set to pySim-shell
Actions #2

Updated by laforge 10 months ago

  • Subject changed from command-line access for the "export" command to command-line access to the "export" functionality
Actions #3

Updated by laforge 10 months ago

  • Status changed from New to In Progress
  • Assignee set to laforge
Actions #4

Updated by laforge 10 months ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)