Commit graph

7273 commits

Author SHA1 Message Date
Ed Page
df1efb4c53
Merge pull request #4486 from jpgrayson/master
fix: ContextKind.as_str() spellings
2022-11-16 10:26:28 -06:00
Peter Grayson
d9c9c7bdd8
fix: ContextKind.as_str() spellings
Signed-off-by: Peter Grayson <pete@jpgrayson.net>
2022-11-16 11:14:54 -05:00
Ed Page
ba32ab87b2 chore: Release 2022-11-15 10:41:16 -06:00
Ed Page
391cd0092d docs: Update changelog 2022-11-15 10:41:09 -06:00
Ed Page
8cefdf31cc
Merge pull request #4482 from epage/suggest
feat(parser): Show available subcommands when one is missing
2022-11-15 10:40:16 -06:00
Ed Page
6b62c82fe2 feat(parser): Show available subcommands when one is missing
Similar to
- Listing all required arguments when one is missing
- Listing all possible values when no value is provided

This came up when discussing #3572
2022-11-15 10:18:24 -06:00
Ed Page
d21ee513fd test(parser): Verify subcommand required message 2022-11-15 10:12:05 -06:00
Ed Page
010976c2ff chore: Release 2022-11-14 12:31:29 -06:00
Ed Page
0bafd2f52d docs: Update changelog 2022-11-14 12:31:14 -06:00
Ed Page
8171a5f6d0
Merge pull request #4480 from epage/panic
fix: Don't panic on non-built arg rendering
2022-11-14 12:30:39 -06:00
Ed Page
c939de8a25 fix: Don't panic on non-built arg rendering
For num_args, we'll just use the default

Fixes #4479
2022-11-14 12:13:18 -06:00
nibon7
21f9e78a09
ci: update CI 2022-11-12 11:22:29 +08:00
Ed Page
95144b7590 chore: Release 2022-11-11 12:47:41 -06:00
Ed Page
20ecae1cb3 docs: Update changelog 2022-11-11 12:47:34 -06:00
Ed Page
e6a3529e24
Merge pull request #4474 from epage/utf8
fix(parser): Don't panic on invalid UTF-8 values
2022-11-11 12:46:02 -06:00
Ed Page
e9cbed34cd fix(parser): Don't panic on invalid UTF-8 values
Fixes #4473
2022-11-11 12:26:04 -06:00
Ed Page
45d26e0013 test(parser): Show UTF8 bug 2022-11-11 12:22:30 -06:00
nibon7
0b9a11ac4b
ci: update setup-nu 2022-11-11 22:06:06 +08:00
nibon7
b5d817113a
docs: update readme 2022-11-11 22:06:06 +08:00
nibon7
8e44f4f77c
chore: release 0.1.8 2022-11-11 22:06:06 +08:00
nibon7
82e5e34438
refactor: remove struct Argument 2022-11-11 22:06:06 +08:00
nibon7
d5bfa0cb67
chore: add sub_subcommands example and nu script to generate readme dynamically 2022-11-11 22:06:06 +08:00
nibon7
ede83f161b
chore: release 0.1.7 2022-11-11 22:06:05 +08:00
nibon7
d6a37c1207
perf: reduce memory allocation 2022-11-11 22:06:05 +08:00
nibon7
a895ef3d4c
perf: reduce memory allocation 2022-11-11 22:06:05 +08:00
nibon7
26fe5dbe96
chore: release 0.1.6 2022-11-11 22:06:05 +08:00
nibon7
b35619171c
feat: align help message 2022-11-11 22:06:05 +08:00
nibon7
a0b1e2118b
chore: remove wrapped functions 2022-11-11 22:06:05 +08:00
nibon7
3c8cbfa111
chore: release 0.1.5 2022-11-11 22:06:05 +08:00
nibon7
da3bcd82e5
test: add quoting test 2022-11-11 22:06:05 +08:00
nibon7
50aefdb9b3
fix: escape quotes when string has whitespace 2022-11-11 22:06:05 +08:00
nibon7
c6fe49aba5
feat: add rest argument completion 2022-11-11 22:06:05 +08:00
nibon7
c19fc425d0
chore: release 0.1.4 2022-11-11 22:06:05 +08:00
nibon7
90555c39c5
ci: update CI to check nushell scripts 2022-11-11 22:06:05 +08:00
nibon7
fd89b0eb46
refactor: remove enum Argument 2022-11-11 22:06:05 +08:00
nibon7
8035519b62
chore: release 0.1.3 2022-11-11 22:06:05 +08:00
nibon7
17f9332d3f
docs: add badges 2022-11-11 22:06:05 +08:00
nibon7
c9fe396789
docs: add example to doc comments 2022-11-11 22:06:05 +08:00
nibon7
2b6bfeff61
feat: add nu-complete prefix to custom commands 2022-11-11 22:06:05 +08:00
nibon7
e1e682468b
chore: remove useless reference 2022-11-11 22:06:05 +08:00
nibon7
78e98e2d7c
chore: release 0.1.2 2022-11-11 22:06:05 +08:00
nibon7
889d05df8c
perf: reduce memory allocation 2022-11-11 22:06:05 +08:00
nibon7
547bd288bf
feat: add value completion 2022-11-11 22:06:05 +08:00
nibon7
07dbefef3f
chore: release 0.1.1 2022-11-11 22:06:05 +08:00
nibon7
3d9b50513b
feat: add alias completion 2022-11-11 22:06:05 +08:00
nibon7
f1bc5a554a
refactor: refactor generate_completion 2022-11-11 22:06:02 +08:00
nibon7
54a12e8178
chore: release 0.1.0 2022-11-11 21:35:21 +08:00
Ed Page
4d69e56f06
Merge pull request #4471 from epage/assert
test(assert): Verify empty positional assert exists
2022-11-09 22:22:52 -06:00
Ed Page
ec03972023 test(assert): Verify empty positional assert exists
Wondered if we had this for #4467.  Figured we should actually test it.
2022-11-09 22:10:37 -06:00
Ed Page
0d27188d87
Merge pull request #4465 from epage/help
fix(help): Clarify that 'help' command accepts multiple
2022-11-07 23:21:46 -06:00