Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TS-16] allow tasksh to use CLI arguments on launch #15

Open
taskwarrior opened this issue Feb 11, 2018 · 3 comments
Open

[TS-16] allow tasksh to use CLI arguments on launch #15

taskwarrior opened this issue Feb 11, 2018 · 3 comments
Labels
enhancement New feature or request
Milestone

Comments

@taskwarrior
Copy link

David Patrick on 2014-12-23T13:22:18Z says:

It would be a Good Thing(tm) if one could launch the task shell using arguments, as in;

$ tasksh pro:foo +bar long

which would open tasksh, and run immediately the long report with [pro:foo and +bar] filter

@taskwarrior taskwarrior added this to the Backlog milestone Feb 11, 2018
@taskwarrior taskwarrior added the enhancement New feature or request label Feb 11, 2018
@taskwarrior
Copy link
Author

Migrated metadata:

Created: 2014-12-23T13:22:18Z
Modified: 2018-02-11T16:09:01Z

@taskwarrior
Copy link
Author

Cory Donnelly on 2015-12-30T19:12:26Z says:

This is in direct conflict with TS-22 -- David is suggesting that tasksh would perform operations described by CLI arguments and remain within the shell, while prior to v1.1.0, tasksh would perform operations passed as CLI arguments and then quit. I prefer David's suggestion.

@taskwarrior
Copy link
Author

Paul Beckingham on 2016-09-06T12:13:26Z says:

With TS-29 it's getting closer. Now it accepts newline-separated input piped in, but quits after.

ThomasAdam added a commit to ThomasAdam/taskshell that referenced this issue Jun 21, 2018
When invoking tasksh with command line arguments, it's useful to try and
process these via taskwarrior so that:

   tasksh pro:home list

would output the appropriate tasks before displaying the prompt.

To achieve this, refactor some of the setup calls to generate the
prompt, as well as refactoring the commandLoop.

Fixes GH issue GothenburgBitFactory#15
ThomasAdam added a commit to ThomasAdam/taskshell that referenced this issue Jul 13, 2018
When invoking tasksh with command line arguments, it's useful to try and
process these via taskwarrior so that:

   tasksh pro:home list

would output the appropriate tasks before displaying the prompt.

To achieve this, refactor some of the setup calls to generate the
prompt, as well as refactoring the commandLoop.

Fixes GH issue GothenburgBitFactory#15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant