Y
Hacker News
new
|
ask
|
show
|
jobs
by
DSpinellis
260 days ago
Thank you for the suggestion. This would mean that you'd also then create some mapping from each name (like git_log) to its implementation, right?
1 comments
esafak
260 days ago
Yes, using shell functions:
git_log() { git log --pretty=tformat:'%at %ae' }
Separating function definitions allows you to run, test, and re-use them.
link
DSpinellis
260 days ago
And, more importantly, assign a name to a process, so that it can appear multiple times in the graph.
link
UltraSane
260 days ago
You might want to try looking at the Neo4j query language Cypher for some possible inspiration for the syntax.
link