#cli #date #tag

app datetag

datetag is a simple application to generatate e manage date tags

4 releases

Uses new Rust 2021

0.1.3 Nov 5, 2022
0.1.2 Nov 4, 2022
0.1.1 Nov 7, 2021
0.1.0 Nov 6, 2021

#386 in Command line utilities

35 downloads per month

GPL-3.0 license

20KB
262 lines

datetag

Crate Crates.io

datetag 0.1.3
display a customizable date tag (e.g. TEST_202110)

EXAMPLES:

    $ datetag --offset 22 --date 20220312 --prefix 'TEST_' --tag-type daily
    TEST_20220403

    $ datetag -o 22 -d 20220312 -p 'TEST_' -t d
    TEST_20220403

USAGE:
    datetag.exe [OPTIONS]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -d, --date <date>            date tag value (one of 'yyyymmdd', 'yyyymm', 'yyyy')
    -o, --offset <offset>        date tag offset [default: 0]
    -p, --prefix <prefix>        tag prefix
    -t, --tag-type <tag-type>    tag type [d | m | y | daily | monthly | yearly] [default: m]

Dependencies

~2.6–3.5MB
~60K SLoC