• Stars
    star
    295
  • Rank 140,902 (Top 3 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 6 years ago
  • Updated almost 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A combination between git commit & todo list ๐ŸŽ‰

CommitTasks

Plan & commit your changes with ease ๐ŸŽ‰

About this project

CommitTasks is a small, robust cli for developers to plan and manage their git commits in multiple projects. In other words, CommitTasks is a combination of git commit & todo list. With just a few examples, the users can learn to plan, prepare and commit their changes with confident.

Features

  • Manage commit tasks in separate projects
  • Search for tasks
  • Simple & easy to use
  • Commit and receive commit details
  • Highlight tasks

Install

npm install -g committasks

Usage

$ ct --help

  Usage:
    $ ct [<options> ...]

    Options:
        none            Display all tasks
      --task, -t        Create task
      --remove, -rm     Remove a task or a project
      --commit, -c      Commit a task
      --list, -l        Display all tasks in a project
      --find, -f        Search for a task
      --edit, -e        Edit a task commit's message
      --create, -cp     Create a project for a task (requires --task)

    Examples:
      $ ct
      $ ct --task MyProject Fix issue #45
      $ ct --remove MyProject 1
      $ ct --remove . 1
      $ ct --commit MyProject 2
      $ ct --commit . 2
      $ ct --list MyProject
      $ ct --list .
      $ ct --find My task
      $ ct --edit MyProject 2 New message
      $ ct --edit . 2 New message
      $ ct --task NotExistProject Fix issue #45 --create
      $ ct --create --task NewProject Fix issue #45

How to use

In all the examples bellow, if your current working directory has the same name as your project name in CommitTasks list then you can replace your project name with a . character.

Create task

You can use --task/-t flag to create a new task.

$ ct --task MyProject Updated README with the new details

If the project that you are about to create does not exist then you must specify the flag --create/--cp for CommitTasks to understand that you want to create a new project.

$ ct --task ProjectToBeCreated Improve documentation --create

Commit a task

After you apply all your changes, you can use the flag --commit/--c followed by your project name and task id to commit your changes. Your task content will be used as the commit message.

$ ct --commit MyProject 1

If no files are specified, git add . will be assumed. However, if you want to specify a set files to be commited, you can combine the --commit/--c flag with --files/--cf flag to specify the files that you want to commit.

$ ct --commit MyProject 1 --files index.js css/index.css index.html

List all task in a project

If you're working on a specific project and only wish to see tasks in that project, then you can use the --list/--l flag with a project name to show only tasks in your desired project.

$ ct --list MyProject

Edit a task commit message

As mentioned earlier, the task content will be used as the commit message by default. If you wish to change it, use the --edit/--e flag followed by the project name, task id and the new message.

$ ct --edit MyProject 1 Updated commit message

Highlight a task

To highlight a task, you can use the flag --highlight/--hl followed by the project name, task id and the status of the highlight that you want. Supported status:

  • urgent
  • important
  • none
$ ct --highlight MyProject 1 urgent

Remove a task or project

To remove a task, you can simply use the flag --remove/--rm followed by the project name and the task id.

$ ct --remove MyProject 1

You can do the same thing to delete the whole project, but this time, only project name is required.

$ ct --remove MyProject

Author

Donations

Buy Me A Coffee

License

MIT

More Repositories

1

SnippetStore

๐ŸŽ‰ A snippet management app for developers ๐Ÿš€
JavaScript
848
star
2

moon

๐ŸŒŽ ๐ŸŒ” A hobby web browser developed from scratch
Rust
316
star
3

vi-rs

Vietnamese Input Method library
Rust
131
star
4

limus

๐ŸŽจ Make your screenshot/image more professional by rotating, adding shadow and more.
TypeScript
112
star
5

awesome-browser

A list of awesome web browser related stuff
78
star
6

rsn

A TUI-based RSS reader written in rust
Rust
25
star
7

NoticeZ

A javascript library for creating "web" push notifications
JavaScript
8
star
8

Alluring

A cross platform app for changing wallpaper
JavaScript
7
star
9

SoundFlow

A simple music playing app that support multiple online sources.
TypeScript
7
star
10

vscode-snippetstore

Snippet Store integration in Visual Studio Code
JavaScript
7
star
11

vudoku

A simple sudoku game written in v lang
V
6
star
12

Waving

A simple audio player with wave effect
TypeScript
6
star
13

checkme

A simple todo cli app build with oclif
TypeScript
5
star
14

Gofont

A simple google font downloader written in Golang
Go
4
star
15

Elisten

An web app for improving English listening skill
JavaScript
4
star
16

darkside

A TUI-kit for rust
Rust
4
star
17

EasyPDF

A simple library that use PDF.js for rendering pdf file on electron
JavaScript
4
star
18

MyWatchList

A simple movie watch list app
CoffeeScript
4
star
19

ZEx

A hacking tool base written with NodeJs
JavaScript
3
star
20

AnimeBot

A simple bot for taking anime info from myanimelist.net
JavaScript
3
star
21

everyday

My everyday notes
2
star
22

akanban

A simple kanban board built with Angular and โค๏ธ
TypeScript
2
star
23

Sonalus

A modern markdown editor
TypeScript
2
star
24

TIL

Today I learned - A collection of knowledge from source reading to side-project
2
star
25

spacechess

A simple 3d chess game made with three.js
CoffeeScript
2
star
26

mState

A simple state management library for mithril.js
JavaScript
2
star
27

aoc2023

AOC 2023!
Clojure
2
star
28

p5Generator

A cross platform app for generating and managing p5.js projects !
JavaScript
1
star
29

NewWall

Just another wallpaper changing app! ๐ŸŽ‰
Vue
1
star
30

autocomplete-demo

A simple demo of autocomplete search box
JavaScript
1
star
31

tplgen

A nodejs third party licenses generator
JavaScript
1
star
32

portfolio-v3

Back to simple, clean style
TypeScript
1
star
33

aoc2022

My AoC 2022 solutions. Enter at your own risk.
JavaScript
1
star
34

wezterm-config

My wezterm config
Lua
1
star
35

style-helper

This repository containt style helper file
CSS
1
star
36

dotfiles

My dotfiles
Vim Script
1
star
37

craftorio

A clone of Minecraft in threejs for fun
TypeScript
1
star
38

aoc-2021

Advent of Code 2021
Rust
1
star
39

zerox-dg.github.io

My portfolio
TypeScript
1
star
40

meow

[WIP] A language compiled to JS for fun!
Rust
1
star
41

emacs-github-pr

a simple tool that helps speed up the process of reviewing Github PRs
Emacs Lisp
1
star
42

blog

My blog, recreated
CSS
1
star