tmgr
A command line tool to track tasks, designed for those that live in IDEs.
DISCLAIMER: There are several ways to install and start using tmgr
. As I developed this on macOS, the directions
provided below have only been tested on macOS and may not work as well on other platforms. I look to expand on this in
the future as the project matures.
tmgr
.
tmgr
cd Downloads && chmod 751 ./tmgr
. This command will move your directory to the
downloads folder and make tmgr
an executable programtmgr
program to one of your computer's bin folders. For info on what a bin
is, see this resource
on creating a personal bin and setting the path for your terminal.tmgr
. If successful, you should see all the available commands listed by
default as the response.git clone https://github.com/CharlieKarafotias/tmgr.git
tmgr
foldercargo build -r
. This will build a release version of the project for your system.tmgr/target/release/tmgr
.tmgr
binary to one of your computer's bin folders.tmgr
. If successful, you should see all the available commands listed out.If you wish to change the source code, you can follow the steps below:
cargo run
. This should compile tmgr
and then return all the commands that are available for the program.cargo run -- add "my first todo"
cargo build -r
If you wish to release a new version of tmgr
, follow the steps below:
tmgr
repositorymain
branch locally cargo build -r && gh release create
tmgr
has the following commands:
Command Name | Description |
---|---|
add | adds a new task |
complete | marks a task as complete |
delete | deletes a task |
list | lists tasks |
note | creates and/or opens a markdown file to store notes associated with a particular task |
status | info regarding file locations, current database, general statistics |
update | updates an existing task |
upgrade | upgrades tmgr to the latest version |
view | shows all information about a specific task |
help | prints out CLI usage information |
The add
command will add a new task.
tmgr add <Name> [Priority] [Description]
low
, medium
, and high
.high
.tmgr add 'The most basic task... just a name is set'
tmgr add 'Read AWS document' 'low' 'Read the concurrent execution section of the lambda documentation'
Read AWS document
is the name of the tasklow
is the priority of the taskRead the concurrent execution section of the lambda documentation
is the description of the taskThe complete
command will mark a task as complete.
tmgr complete <ID>
tmgr complete '1w08w2'
1w08w2
is the beginning part of an existing task ID. To find task IDs, run tmgr list
The delete
command will delete a task.
tmgr delete <ID>
tmgr delete '1w08w2'
1w08w2
is the beginning part of an existing task ID. To find task IDs, run tmgr list
Lists all tasks. By default, this will only list in-progress tasks. This provides general information about the tasks like the name, priority, and description.
tmgr list
tmgr list -a
The note
command will create a markdown file to store notes associated with a particular task.
The file will be created in the same location as the database of tasks. To see this location, run tmgr status
.
tmgr note <ID>
tmgr note '1w08w2'
1w08w2
is the beginning part of an existing task ID. To find task IDs, run tmgr list
tmgr note <ID> -o
tmgr note '1w08w2' -o
vi
The status
command will show information regarding the current state & location of the database and information about
the location of the binary.
tmgr status
The update
command will update information about a particular task.
tmgr update <ID> [Name] [Priority] [Description]
low
, medium
, and high
.tmgr update '1w08w2' 'Read AWS document' 'low' 'Read the concurrent execution section of the lambda documentation'
1w08w2
.The upgrade
command will update tmgr
to the latest version. The command works in the following steps:
tmgr
executable is storedtmgr
executabletmgr
executable from the downloads folder to the folder where the current tmgr
executable was
just deleted from.tmgr upgrade
The view
command will show all information about a specific task.
tmgr view <ID>
tmgr view '1w08w2'
1w08w2
is the beginning part of an existing task ID. To find task IDs, run tmgr list
The help command will present all available subcommands that tmgr
supports. Further, help can be used within other
subcommands to learn more about each commands' functionality.
tmgr -h
tmgr --help