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

add -l / --last option to amend & start #77

Closed
Ephigenia opened this issue Sep 27, 2020 · 0 comments
Closed

add -l / --last option to amend & start #77

Ephigenia opened this issue Sep 27, 2020 · 0 comments
Assignees
Labels
enhancement feature enhancement or refactors

Comments

@Ephigenia
Copy link
Owner

Ephigenia commented Sep 27, 2020

Right now it’s easy to edit or restart the last created entries note using xargs:

mite list today --limit 1 --tracking true  --columns id --format text | xargs -n1 mite amend --editor
mite list today --limit 1 --tracking true  --columns id --format text | xargs -n1 mite start

But it would be even easier if npm start and npm amend accept a -l / --last option which then uses the last created entry.

@Ephigenia Ephigenia added the enhancement feature enhancement or refactors label Sep 27, 2020
@Ephigenia Ephigenia self-assigned this Sep 27, 2020
Ephigenia added a commit that referenced this issue Sep 28, 2020
* feat: start --last re-starts the most recent entry (#77)
* feat: amend last changes the most recent entry (#77)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement feature enhancement or refactors
Projects
None yet
Development

No branches or pull requests

1 participant