No description
Find a file
2021-05-30 12:57:58 +02:00
.github (WIP) GHA (github actions) += cargo test (Trying if it will work (WIP) 2021-05-17 21:58:39 +02:00
examples += example with ansi_term for using colours 2021-05-30 12:57:58 +02:00
src += make modules public 2021-05-21 09:21:11 +02:00
.gitignore += Batch mode (+testing) 2021-05-16 17:07:15 +02:00
.gitlab-ci.yml += .gitlab-ci.yml # Trying to setup CI on gitlab 2021-05-16 17:34:47 +02:00
Cargo.lock += example with ansi_term for using colours 2021-05-30 12:57:58 +02:00
Cargo.toml += example with ansi_term for using colours 2021-05-30 12:57:58 +02:00
README.md += Ascii Art Forest Mode! 2021-05-18 10:07:11 +02:00
thingsdb.csv += Ascii Art Forest Mode! 2021-05-18 10:07:11 +02:00

rusty_things_organizer_4fun_util

Tool made for fun to play with rust libraries and to organize some things using barcode reader :).

Repos:

Usage: things [b|s|f]

Tool helps to organize where things are, using barcode reader.

Tool uses plaintext csv format, so it's easy to keep track with git or integrate with other scripts.

Assuming:

* alias things=/path/to/binary...
* thingsdb.csv sits in current working directory or is ok to be created

# batch mode. Empty line indicates start of new sequence.
# multiple empty lines in a row are allowed.
# Beginning of each sequence if container, later is followed by items inside.
$ things b
container00
item00
item01

container10
item10
item11


cabinet_container_000
container00
container10

container20
item20
<Ctrl-D>
...

# search (followed by things to search)
$ things s

Input:
item01
item11
container10
...

Output:
container00
container10
cabinet_container_000

# Ascii Art Forest Mode! Dump all your storage in forest mode
$ things f
 box_W
 └─ thing_V
 storage
 ├─ box_ABC
 │  ├─ thing_A
 │  ├─ thing_B
 │  └─ thing_C
 └─ box_X
    ├─ thing_Y
    └─ thing_Z
...

In consideration for future if would turn out helpful:

# list things in container
$ things l container_code

# list containers
$ things lc

# tree view
$ things t

# move to container
$ things m container_code thing_code

# move to container multiple items
$ things m container_code
thing_code01
thing_code02
thing_code03