Skip to content

[CLI] Use Git Human-readable date syntax for --lookback analyze flag #4993

@erikkerber

Description

@erikkerber

The analyze command converts a what looks to be some kind of Go primitive(?)

Whether my interpretation is right or wrong, since it clearly is meant to be used on Git history I'd recommend using Human-readable date syntax directly in place of a date string in --since and allowing users to pass those strings directly.

i.e.

bb analyze --cost --since=1.week
bb analyze --cost --since=6.months --before=3.months

Similar to:

git log --since=1.week
git log --since=6.months --before=3.months

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions