Vaniel
6abc94c87a
feat(choose): add --selected option to choose command
2022-09-06 16:13:53 -04:00
Maas Lalani
b403b0ae58
chore: bump bubbles@v0.14.0 + lipgloss@v0.6.0
2022-09-06 15:29:32 -04:00
Maas Lalani
808f879996
lint: fix lint error unparam on clamp
2022-09-02 21:39:01 -04:00
fedeztk
c9fe558a44
feat(filter): Multi-select ( #130 )
...
* feat(filter): added multiple selections
* docs(filter): corrected comments about multiSelection print
* feat(filter): fix proposed changes on naming variables and map type
* feat(filter): actually fix map types
* feat(filter): use `○` / `◉` as unselected / selected multi-select options
Co-authored-by: Maas Lalani <maas@lalani.dev>
2022-09-02 21:21:31 -04:00
Maas Lalani
81602545a6
refactor: don't trim newline if we are going to Println
anyway
...
Just use `Print` with the newline
2022-09-02 14:37:26 -04:00
MichalGrzymek
73518ef21b
docs: git-branch-manager.sh
should be executable ( #139 )
2022-08-30 20:49:41 -04:00
fedeztk
6b7f5ef77b
fix(choose): wrong "a" behavior ( #137 )
2022-08-30 12:24:25 -04:00
Maas Lalani
7a1a91b4e0
docs: show usage with skate
( #136 )
2022-08-30 12:24:11 -04:00
Maas Lalani
08346909a9
feat(choose): Wrap around choose list and g
/G
keybindings ( #122 )
...
* `G` goes to last element / `g` goes to first element
* Wrap around on first and last elements
2022-08-18 17:12:00 -04:00
Maas Lalani
5f4cc48069
docs: add git-branch-manager.sh
...
From @andrew8088's video on Gum:
https://www.youtube.com/watch?v=tnikefEuArQ
2022-08-15 13:57:45 -04:00
NalZE7
bcfded82c8
docs: fix a warning in the filter example
...
fixing a here-document warning in the filter-key-value.sh script
2022-08-15 12:22:31 -04:00
Maas Lalani
5d24ca88f4
test: add default gum
commands without any flags as test cases
2022-08-11 18:14:37 -04:00
Maas Lalani
4cb290e596
docs: Add ENVIRONMENT_VARIABLE
configuration to README
2022-08-08 17:06:30 -04:00
Maas Lalani
9b3c8c0db0
Allow --value
to pre-populate gum filter
( #113 )
...
* Add --value option to filter command
Modeled after fzf's --query option this allows the inital model to be
prefiltered.
Additionally, if the initial list, before being filtered by --value, is
empty then treat this as an error. Filtering an empty list doesn't make
sense.
Co-authored-by: David Morgan <david_a_morgan@icloud.com>
2022-08-08 16:54:24 -04:00
Maas Lalani
c1a1a73a0e
feat: add timeout on confirm options & messages ( #111 )
...
Co-authored-by: Christoper Hans <4262799+ChrHan@users.noreply.github.com>
2022-08-08 13:57:55 -04:00
Maas Lalani
2afa42b603
chore: Ignore .DS_Store
files
...
Ignroe .DS_Store files
2022-08-08 12:52:51 -04:00
Carlos A Becker
de518387a4
fix: disable aur publish
...
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-08-07 12:06:45 -04:00
Maas Lalani
84f3096665
perf: improve filter fuzzy by pre-allocating slice
2022-08-05 12:25:15 -04:00
Mike Oertli
89f2928571
added clarity on completing a 'write'
...
added some comments and info in the readme regarding how to complete (or exit) a 'write'
2022-08-05 11:59:01 -04:00
Maas Lalani
60ceeff5dc
docs: examples for better sudo and shell history picker
2022-08-05 02:40:21 -04:00
Maas Lalani
6aee67259c
fix: resize images
2022-08-05 02:35:52 -04:00
Maas Lalani
1479184f3f
fix: satisfy all linters
2022-08-05 02:33:40 -04:00
Maas Lalani
2d5ef98037
fix: gum write --char-limit 0 should ignore limit
2022-08-04 15:13:57 -04:00
Maas Lalani
4e61c120b0
fix: run spinner on stderr
2022-08-04 13:50:42 -04:00
Ayman Bagabas
131ae3b9c8
fix(man): remove unused line
2022-08-04 12:16:30 -04:00
Maas Lalani
ff4956a2a6
docs: s/gum-bin/gum
2022-08-04 11:51:05 -04:00
Maas Lalani
b042321317
docs: gum
is now on official Arch packages 🎉 (use pacman)
2022-08-04 11:50:18 -04:00
Maas Lalani
46ce0e4761
feat: allow configuration via environment variables
2022-08-04 11:22:42 -04:00
Maas Lalani
35e044d140
fix: use WithAltScreen instead of deprecated EnterAltScreen
2022-08-04 11:21:51 -04:00
Maas Lalani
b8669c420b
fix: enter AltScreen
if auto height
2022-08-04 11:15:21 -04:00
Maas Lalani
7842b83c9d
fix(confirm): readable on light theme
2022-08-03 14:06:55 -04:00
Maas Lalani
5cb341f169
fix: remove env:"-" tag
2022-08-03 13:44:56 -04:00
maplepie
eadcc5510f
fix(style): print flags in style command ( #91 )
...
current style command doesn't print Style Flags in help flag
2022-08-03 13:43:20 -04:00
Maas Lalani
bba0f3b1e0
refactor: remove unneeded set:"name="
2022-08-03 12:28:02 -04:00
Mathias Griffe
06e8546366
feat: Make input and write textarea CharLimit configurable through options
...
Removes the hardcoded 400 chars CharLimit (default for textarea), and make the CharLimit configurable through an Option.
2022-08-03 11:20:09 -04:00
Maas Lalani
197e52a362
feat: escape as abort option (like ctrl+c)
2022-08-02 21:00:42 -04:00
Maas Lalani
cdd7b7b6ba
docs: document --password flag for gum input
2022-08-02 20:54:16 -04:00
Maas Lalani
910e365004
test(example): don't use -e
for echo
2022-08-02 19:10:40 -04:00
Maas Lalani
d48959d528
test: Add test suite
...
Adds test suite in ./examples/test.sh
2022-08-02 19:06:32 -04:00
Maas Lalani
a4362dc317
docs: use common tagline
...
A tool for glamorous shell scripts.
2022-08-02 16:48:43 -04:00
Maas Lalani
c049d1a5fa
feat: filter height and scrolling viewport
2022-08-02 16:40:57 -04:00
Dolev Hadar
fb4a9e6320
fix: skip if limit is <= 1
2022-08-02 13:57:55 -04:00
Dolev Hadar
0e33ee95e1
feat: select/deselect all items in gum choose with a/A
2022-08-02 13:57:55 -04:00
Maas Lalani
a9627edea4
refactor: git stage cli (simplified)
2022-08-02 13:56:40 -04:00
Christian Muehlhaeuser
f695901207
chore: nicer PR example in README
2022-08-02 17:35:37 +02:00
Nickiel12
4194c3116b
A basic git cli for staging/unstaging files ( #76 )
2022-08-02 17:27:52 +02:00
Maas Lalani
7eb1e7e322
fix(choose): Fix paging up bug
...
Fixes https://github.com/charmbracelet/gum/issues/82
2022-08-02 11:21:12 -04:00
Maas Lalani
378a000f70
docs: Pull request template
2022-08-01 16:16:09 -04:00
Maas Lalani
9c973b65bf
Update issue templates ( #70 )
2022-08-01 16:12:14 -04:00
Maas Lalani
03e0c80b0c
docs(examples): Move to PR example to README instead of script
2022-08-01 16:09:45 -04:00