Update README to use a table

This commit is contained in:
Luc Perkins 2022-07-29 02:17:49 +02:00
parent d2436a8bbd
commit eb8b004042
No known key found for this signature in database
GPG key ID: 4F102D0C16E232F2

View file

@ -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