Skip to content
This repository has been archived by the owner on Jun 16, 2020. It is now read-only.

Add option for custom command launch #83

Closed
euclaise opened this issue Dec 3, 2018 · 4 comments
Closed

Add option for custom command launch #83

euclaise opened this issue Dec 3, 2018 · 4 comments
Labels
enhancement New feature or request

Comments

@euclaise
Copy link

euclaise commented Dec 3, 2018

Instead of only offering the default shell, it would be useful to have a flag that allows for the launch of a custom program without having to go through the shell first.

For example:

Current behavior:

$ termtosvg myfile.svg
Recording started, enter "exit" command or Control-D to end
$ mycommand
 # interact with mycommand
$ exit
Recording ended, SVG animation is myfile.svg

Requested behavior:

$ termtosvg myfile.svg -c mycommand
 # interact with mycommand
Recording ended, SVG animation is myfile.svg
@nbedos
Copy link
Owner

nbedos commented Dec 3, 2018

I forgot about this, thanks for reminding me. Yes, that would help for #20 as described here and also for #11.

@nbedos nbedos added the enhancement New feature or request label Dec 3, 2018
@nbedos
Copy link
Owner

nbedos commented Dec 3, 2018

There is an open pull request for this feature here: #84
Suggestions, reviews and testing welcome.

@nbedos
Copy link
Owner

nbedos commented Dec 8, 2018

This feature is included in the current release candidate which can be downloaded from test.pypi.org:

pip install --extra-index-url https://test.pypi.org/simple/ 'termtosvg>=0.7.0rc0'

@nbedos
Copy link
Owner

nbedos commented Dec 9, 2018

Feature included in version 0.7.0.

@nbedos nbedos closed this as completed Dec 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants