Skip to content

m start requires all three inputs #4

@yolk

Description

@yolk

My initial impression after reading the docs, was that it would be possible to start an entry without a note with:

m start {project} {service}

but it seems miteclock requires the note in all cases (https://github.com/iliakur/miteclock/blob/master/src/miteclock/activities.py#L66)? Would it be possible to make at least the note optional?

And the service and project, too? This would also require to add the option to handle an empty value with the syntax, something like:

m start p - 'My note'

or even

my start - s 'Bla'

A lot of our users create entries without notes, so I guess this would make a lot of sense. The second one is more debatable. But maybe it would be a start to add a better error message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions