From eb8b0040422ca6a1aa767846f9750b4b22e69483 Mon Sep 17 00:00:00 2001 From: Luc Perkins Date: Fri, 29 Jul 2022 02:17:49 +0200 Subject: [PATCH] Update README to use a table --- README.md | 61 +++++++++++++++++++++++-------------------------------- 1 file changed, 25 insertions(+), 36 deletions(-) diff --git a/README.md b/README.md index 8e583a4..f72fbca 100644 --- a/README.md +++ b/README.md @@ -1,39 +1,28 @@ # Nix flake templates for easy dev environments -```shell -# Dhall -nix flake init --template github:the-nix-way/dev-templates#dhall +| Language/framework/tool | Init command | +| :---------------------- | :------------------------------------------------------------------- | +| [Dhall] | `nix flake init --template github:the-nix-way/dev-templates#dhall` | +| [Elixir] | `nix flake init --template github:the-nix-way/dev-templates#elixir` | +| [Gleam] | `nix flake init --template github:the-nix-way/dev-templates#gleam` | +| [Go] 1.17 | `nix flake init --template github:the-nix-way/dev-templates#go_1_17` | +| [Go] 1.18 | `nix flake init --template github:the-nix-way/dev-templates#go_1_18` | +| [Java] | `nix flake init --template github:the-nix-way/dev-templates#java` | +| [Kotlin] | `nix flake init --template github:the-nix-way/dev-templates#kotlin` | +| [Nix] | `nix flake init --template github:the-nix-way/dev-templates#nix` | +| [Node.js][node] | `nix flake init --template github:the-nix-way/dev-templates#node` | +| [Rust] | `nix flake init --template github:the-nix-way/dev-templates#rust` | +| [Scala] | `nix flake init --template github:the-nix-way/dev-templates#scala` | +| [Zig] | `nix flake init --template github:the-nix-way/dev-templates#zig` | -# Elixir -nix flake init --template github:the-nix-way/dev-templates#elixir - -# Gleam -nix flake init --template github:the-nix-way/dev-templates#gleam - -# Go 1.17 -nix flake init --template github:the-nix-way/dev-templates#go_1_17 - -# Go 1.18 -nix flake init --template github:the-nix-way/dev-templates#go_1_18 - -# Java -nix flake init --template github:the-nix-way/dev-templates#java - -# Kotlin -nix flake init --template github:the-nix-way/dev-templates#kotlin - -# Nix -nix flake init --template github:the-nix-way/dev-templates#nix - -# Node.js -nix flake init --template github:the-nix-way/dev-templates#node - -# Rust -nix flake init --template github:the-nix-way/dev-templates#rust - -# Scala -nix flake init --template github:the-nix-way/dev-templates#scala - -# Zig -nix flake init --template github:the-nix-way/dev-templates#zig -``` +[dhall]: https://dhall-lang.org +[elixir]: https://elixir-lang.org +[gleam]: https://gleam.run +[go]: https://go.dev +[java]: https://java.com +[kotlin]: https://kotlinlang.org +[nix]: https://nixos.org +[node]: https://nodejs.org +[rust]: https://rust-lang.org +[scala]: https://scala-lang.org +[zig]: https://ziglang.org