mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-20 13:08:31 +02:00
convenience context.args
This commit is contained in:
parent
927530c057
commit
6d035e709e
1 changed files with 1 additions and 1 deletions
|
@ -401,7 +401,7 @@ def run(context, command, text=""):
|
||||||
command = command.format(cache_dir=cache_dir)
|
command = command.format(cache_dir=cache_dir)
|
||||||
|
|
||||||
args = split_args(command)
|
args = split_args(command)
|
||||||
|
context.args = args
|
||||||
def _mock_editor(command):
|
def _mock_editor(command):
|
||||||
context.editor_command = command
|
context.editor_command = command
|
||||||
tmpfile = command[-1]
|
tmpfile = command[-1]
|
||||||
|
|
Loading…
Add table
Reference in a new issue