Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow wrapping and variable interpolation in help in the devshell menu #298

Open
wants to merge 28 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
f213cda
refactor: use nixpkgs from flake
deemp Jan 13, 2024
70ecdd2
feat: refactor `commands`
deemp Jan 14, 2024
ffa33c6
chore: update docs
deemp Jan 14, 2024
85cbe23
feat: support nested `commands` option
deemp Jan 13, 2024
5124746
feat: tests for nested `commands`
deemp Jan 13, 2024
e0ec967
feat: use nested `commands` for the default devShell
deemp Jan 13, 2024
a725048
chore: update readme
deemp Jan 13, 2024
e59719f
refactor: descriptions
deemp Jan 16, 2024
0889de2
refactor: move file
deemp Jan 16, 2024
b17c52c
fix: expose
deemp Jan 16, 2024
cf7ff94
fix: remove unnecessary nullOr
deemp Jan 16, 2024
c3c3150
refactor: little things
deemp Jan 17, 2024
eceed53
feat: add devshells and docs to checks
deemp Jan 19, 2024
2100042
chore: update docs
deemp Jan 16, 2024
d45f268
feat: devshell.menu.interpolate option
deemp Jan 14, 2024
f906c32
feat: sanitize name
deemp Jan 16, 2024
d1fcc60
feat: pass options to commands files
deemp Jan 17, 2024
77f394a
feat: add options for interpolation
deemp Jan 17, 2024
cdfabcb
feat: select interpolate option during normalization
deemp Jan 17, 2024
c475ce4
feat: interpolate individual help
deemp Jan 17, 2024
525b1eb
fix: tests
deemp Jan 17, 2024
0d7a1e7
refactor: use interpolation in flake
deemp Jan 17, 2024
28536db
feat: add script to print one menu command
deemp Jan 17, 2024
8999f3a
feat: add option to set devshell message width
deemp Jan 17, 2024
351f7a7
feat: add help wrapping and fix interpolation
deemp Jan 17, 2024
9472381
fix: perl warning about locale
deemp Jan 18, 2024
5a49749
refactor: interpolation test
deemp Jan 18, 2024
c6f33b9
chore: update docs
deemp Jan 18, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,20 +75,23 @@ When running `nix-shell` or `nix develop`, `mkShell` prints a welcome message:

[[general commands]]

hello - prints hello
menu - prints this menu
menu - prints this menu

[formatters]
[packages]

nixpkgs-fmt - Nix code formatter for nixpkgs
diffutils-3.10 - Commands for showing the differences between files (diff, cmp, etc.)
goreleaser-1.23.0 - Deliver Go binaries as fast and easily as possible

[linters]
[scripts]

golangci-lint - golang linter
nix fmt - format Nix files
nix run .#bench - Run benchmark
nix run .#docs - Run mdBook server at http://localhost:3000

[utilites]

hub - github utility
golangci-lint-1.55.2 - golang linter
hub-unstable-2022-12-01 - GitHub utility

[devshell]$
```
Expand Down
Loading
Loading