keremciu / adr-tool Goto Github PK
View Code? Open in Web Editor NEWA simple CLI for Architectural Decision Records.
Home Page: https://adr.github.io
A simple CLI for Architectural Decision Records.
Home Page: https://adr.github.io
Hello I find this tool useful. I will share a taskfile that acts as a simple wrapper.
This is helpful for maybe doing additional tasks and executing the tool in a local npm_modules
instead of npx or globally.
#!/bin/bash
# ADR TaskFile (./adr)
# See https://github.com/adriancooney/Taskfile
# A Taskfile is a bash (or zsh etc.) script that follows
# a specific format. It's called Taskfile, sits in the root of your project
# (alongside your other project files) and contains the
# tasks to build your project.
# Ensure `chmod +x ./adr` for granting execution permissions.
ADR="node node_modules/.bin/adr-tool"
function init {
${ADR} init
}
function new {
${ADR} create $@
}
function toc {
${ADR} toc
}
function help {
COMMAND=$1
${ADR} help ${COMMAND}
}
function install {
npm install
}
function tasks {
echo "$0 <task> <args>"
echo "Tasks:"
compgen -A function | cat -n
}
function default {
# Default task to execute
tasks
}
TIMEFORMAT="Task completed in %3lR"
time ${@:-default}
Also a simple Makefile
install:
npm install
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.