corani / adr Goto Github PK
View Code? Open in Web Editor NEWA simple command-line tool to manage ADRs in markdown format
License: MIT License
A simple command-line tool to manage ADRs in markdown format
License: MIT License
When the number of ADRs grows it may be useful to filter / sort them.
I.e. when you mention ADR-0001
in the text, automatically replace this with a hyperlink
At least in the first header we should zero-pad the ADR number, so:
it becomes
To be a bit more consistent.
Instead of only a table format it might be nice to also support e.g. CSV format
Just like the adr template, write the index template to the project so the user can modify it
When creating a new or updating an existing ADR you should be able to provide the superseded ADR via a flag, which would update and link the ADRs.
Embed version into binary and add adr version
to show it.
To find ADRs matching some string (perhaps even in the body?)
Both as demonstration as as documentation :)
Currently long lines get wrapped in adr show
(correct), but if you add manual line-breaks in the source text (so you don't get ridiculously long lines in most text editors) the line-breaks are kept in the output text (not correct).
Currently adr update
only updates the status in the frontmatter, not in the body text. This may be a bit tricky to do, perhaps it would work if we make the status fixed-width
and do a search/replace from the original status to the new status.
Alternatively, if we can get the markdown renderer to play nice with the YAML frontmatter (in GitHub it looks reasonable) we could do away with the table in the body altogether.
And keep this updated with every change!
Rather than as a hardcoded string, embed the template
Get a v0.1.0
out ASAP, so users don't have to import a dummy version v0.0.0
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These branches will be created by Renovate only once you click their checkbox below.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
.github/workflows/codeql-analysis.yml
actions/checkout v3
github/codeql-action v2
github/codeql-action v2
github/codeql-action v2
.github/workflows/go.yml
actions/checkout v3
actions/setup-go v3
.github/workflows/golangci-lint.yml
actions/setup-go v3
actions/checkout v3
golangci/golangci-lint-action v3
.github/workflows/goreleaser.yml
actions/checkout v3
actions/setup-go v3
goreleaser/goreleaser-action v4
go.mod
go 1.19
github.com/MichaelMure/go-term-markdown v0.1.4
github.com/adrg/frontmatter v0.2.0
github.com/gosimple/slug v1.13.1
github.com/jedib0t/go-pretty/v6 v6.4.6
github.com/spf13/cobra v1.6.1
gopkg.in/yaml.v3 v3.0.1
tools/go.mod
go 1.19
github.com/spf13/cobra-cli v1.3.0
Rename or move it, so it's skipped.
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.