Crates.io | memol |
lib.rs | memol |
version | 0.2.1 |
source | src |
created_at | 2022-03-13 08:54:22.847164 |
updated_at | 2022-03-14 13:24:34.144493 |
description | Your task stack. |
homepage | https://github.com/LeafChage/memol |
repository | https://github.com/LeafChage/memol |
max_upload_size | |
id | 549098 |
size | 25,893 |
Your task stack
$ cargo install memol
Your task stack 0.2.0
LeafChage (https://github.com/LeafChage)
USAGE:
memol <SUBCOMMAND>
OPTIONS:
-h, --help Print help information
-V, --version Print version information
SUBCOMMANDS:
all all your latest task
clear clear your latest task
help Print this message or the help of the given subcommand(s)
peek check your latest task
pop pop your latest task
push push your latest task
top check your latest task
memol push "I do something Task1"
memol push "I do something Task2"
memol all
# I do something Task2 (at: 0000000000)
# I do something Task1 (at: 0000000000)
memol push -r "I do something Task3 to first"
memol all
# I do something Task2 (at: 0000000000)
# I do something Task1 (at: 0000000000)
# I do something Task3 to first (at: 0000000000)
memol all
# I do something Task3 (at: 0000000000)
# I do something Task2 (at: 0000000000)
# I do something Task1 (at: 0000000000)
memol pop
memol all
# I do something Task2 (at: 0000000000)
# I do something Task1 (at: 0000000000)
memol pop -r
memol all
# I do something Task2 (at: 0000000000)
memol all
# I do something Task3 (at: 0000000000)
# I do something Task2 (at: 0000000000)
# I do something Task1 (at: 0000000000)
memol all -n 1
# I do something Task3 (at: 0000000000)
memol all -r -n 2
# I do something Task1 (at: 0000000000)
# I do something Task2 (at: 0000000000)
memol peek # memol top
# I do something Task3 (at: 0000000000)
memol peek -r # memol top -r
# I do something Task1 (at: 0000000000)
Customize your shell
###
### for example
###
PS1_TASK=""
task() {
memol peek | sed "s/ (at [0-9]*)//g"
}
PS1_TASK='$(task)'
export PS1="$PS1_TASK\n >"