Giter Club home page Giter Club logo

next-action's Introduction

Hello ๐Ÿ‘‹

I'm a software quality manager working for ICTU in The Hague, The Netherlands. ICTU helps the Dutch government develop digital services for its citizens. Often, our projects require the development of custom software. My responsibilities include supporting our custom software development projects with processes and tools that help us develop high quality software.

ICTU's software development approach is documented in the Kwaliteitsaanpak (sorry, in Dutch only). To be able to measure and monitor our quality, we have developed an open source automated quality system, called Quality-time.

You can reach me at [email protected] and Mastodon.

next-action's People

Contributors

dependabot[bot] avatar fniessink avatar pyup-bot avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

next-action's Issues

Allow for repeating --file

Show which file the next action was selected from somehow, e.g.:

$ next-action --file work.txt home.txt
(A) Fix leaking roof [home.txt]

Allow for automatic detection of current context

A configuration file, written in Python, could contain a mapping of contexts to Boolean functions that return True if the context is applicable, False otherwise.

For example:

contexts = {
    "@night": lambda: 18 <= datetime.datetime.now().hour <= 23,
    "@work": lambda: requests.get("http://ipinfo.io").json()["city"] == "Amsterdam"
}

Allow for specifying multiple projects

Since tasks will usually belong to a single project, it doesn't make sense to require the next action to belong to all projects specified. So, the next action is a task that belongs to at least one of the specified projects.

$ next-action +GarageSale +SpringCleaning
Clean out the garage +GarageSale

If a context is specified as well, then the next action should have that context:

$ next-action +GarageSale +SpringCleaning @home
Dry clean curtains +SpringCleaning @home

Colorize the output

Separate colors for priority, contexts, projects, dates, and key-value pairs. Options:

  • Blessings in concert with Colorama for implementation
  • Pygments/Pygmentize has support for todo.txt

Filter tasks by priority

$ next-action --priority C --all
(A) Call mom
(B) Write proposal for client
(C) Buy beer
(C) Lose weight

Giving no priority would amount to --priority Z. --no-priority would pick the next action from tasks without priority.

Flatten Cerberus' error messages

Flatten e.g {'number': ["must be of ['integer'] type"]} to number must of be integer type and {'file': [{0: ['must be of string type']}]} to file item 0 must be of string type.

Initial Update

The bot created this issue to inform you that pyup.io has been set up on this repo.
Once you have closed it, the bot will open pull requests for updates as soon as they are available.

Better packaging

  • Move development dependencies to requirements-dev.txt
  • Add wheel format to uploaded distributions.

Show only overdue tasks

Select a next action that is over due:

$ next-action --over-due
Buy flowers due:2018-02-14

Show all overdue next actions:

$ next-action --all --over-due
Buy flowers due:2018-02-14
Submit taxes due:2018-05-01

Simplify the help information

Instead of [@CONTEXT [@CONTEXT ...]] [+PROJECT [+PROJECT ...]] [-@CONTEXT [-@CONTEXT ...]] [-+PROJECT [-+PROJECT ...]]

Have something like [ [-]@CONTEXT | [-]@PROJECT ] ...

Or even switch from positional arguments to optional arguments:

-i @CONTEXT | +PROJECT, --include @CONTEXT | +PROJECT
-x/-e @CONTEXT | +PROJECT, --exclude @CONTEXT | +PROJECT

Filter tasks by due date

$ next-action --due 2018-05-01  # Limit to tasks due on the exact date, or tasks due before or on the specified date?
File taxes due:2018-05-01

Allow for specifying multiple contexts

While tasks usually belong to one project, they will often have multiple contexts. So the next action should typically have all specified contexts.

$ next_action @work @lunch
Eat fruit @lunch @work and @home

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.