Skip to content

Commit

Permalink
feat(todo-comment): first release
Browse files Browse the repository at this point in the history
  • Loading branch information
cor committed Sep 7, 2023
1 parent 93b15e8 commit c59f0f3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tools/todo-comment.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@
name = "tdc";
runtimeInputs = with pkgs; [ gh coreutils ];
text = ''
TODO_ID=$(gh issue create -t "$1" -b "_Generated by Union's \'todo-comment\' app_" --label "todo comment" -a "@me" | tail -n 1 | sed 's|https://github.com/\(.*\)/issues/\(.*\)|\1#\2|');
TODO_ID=$(gh issue create -t "$1" -b "_Generated by the devShell's \`tdc\` cli_" --label "todo comment" -a "@me" | tail -n 1 | sed 's|https://github.com/\(.*\)/issues/\(.*\)|\1#\2|');
echo "TODO($TODO_ID): $1"
'';
};
};
}


0 comments on commit c59f0f3

Please sign in to comment.