Commit graph

4573 commits

Author SHA1 Message Date
Ed Page
65993d1b94
Merge pull request #250 from epage/tweaks
Tweaks
2021-12-07 08:30:07 -06:00
Ed Page
df258eaa31 chore(ci): Ensure we test minimum features
I was working to drop the active features across all crates, so that
when cargo unified them during `--workspace`, we'd get this for free.
Alas, it looks like its not happening.
2021-12-07 08:29:05 -06:00
Ed Page
59f9473336 chore: Make makefile easier to use 2021-12-07 08:24:13 -06:00
Ed Page
4a5d52350e docs: Update old repo location 2021-12-07 08:14:41 -06:00
Ed Page
ad797e70af docs: Remove reference to clap.rs 2021-12-06 20:56:47 -06:00
Ed Page
a2c7825c55 docs(faq): Modernize it
People don't really talk of docopt and getopts these days.
2021-12-06 20:55:34 -06:00
Ed Page
3d24b87396 docs: Expand on aspirations 2021-12-06 20:51:24 -06:00
Ed Page
cf029dd08f
Merge pull request #249 from epage/migrate
Migrate
2021-12-06 18:31:14 -06:00
Ed Page
c7560f2425
Merge pull request #248 from epage/ui
fix: Limit when ui tests run
2021-12-06 18:31:09 -06:00
bors[bot]
72e6b80b62
Merge #2956
2956: Add DisableColoredHelp setting to improve flexibility r=pksunkara a=pksunkara



Co-authored-by: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
2021-12-06 23:22:57 +00:00
Ed Page
7dfd1f2e6b docs: Encourage CLI testing 2021-12-06 14:58:56 -06:00
Ed Page
f18f3559e2 docs: Fix example test code 2021-12-06 14:56:45 -06:00
Ed Page
6ea893db2c fix: Limit when ui tests run 2021-12-06 12:37:49 -06:00
Ed Page
6b3ba22368
Merge pull request #97 from epage/rename
Prepare for rename
2021-12-06 12:06:51 -06:00
Ed Page
b2836c07a7 fix: Gracefully handle empty authors 2021-12-06 11:30:26 -06:00
Ed Page
f517c0ede1 docs: Remove author fields 2021-12-06 11:24:23 -06:00
Ed Page
44c34f03ac
Merge pull request #62 from epage/dependabot/cargo/os_str_bytes-6.0
chore(deps): update os_str_bytes requirement from 5.0 to 6.0
2021-12-06 11:10:28 -06:00
Ed Page
f3268b0a4c chore: Remove clap dependency 2021-12-06 11:07:11 -06:00
Ed Page
1acc95ff55 docs: Make clap_derive reflect it not being user-facing 2021-12-06 11:06:34 -06:00
Ed Page
c23f9230d1 chore: Remove stale boiletplate 2021-12-06 11:04:41 -06:00
Ed Page
8595357542 chore: Only error for warnings in CI
This makes it easier for developers to iterate, not having to stop to
write docs just to get things building.
2021-12-06 11:03:14 -06:00
dependabot[bot]
b531964f46
chore(deps): update os_str_bytes requirement from 5.0 to 6.0
Updates the requirements on [os_str_bytes](https://github.com/dylni/os_str_bytes) to permit the latest version.
- [Release notes](https://github.com/dylni/os_str_bytes/releases)
- [Commits](https://github.com/dylni/os_str_bytes/compare/5.0.0...6.0.0)

---
updated-dependencies:
- dependency-name: os_str_bytes
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-06 16:25:49 +00:00
Ed Page
84beec0bca chore(gh): Update labels 2021-12-06 10:24:03 -06:00
bors[bot]
1fcaf07357
Merge #3064
3064: Upgrade os_str_bytes r=pksunkara a=dylni



Co-authored-by: dylni <46035563+dylni@users.noreply.github.com>
2021-12-06 09:13:08 +00:00
dylni
9b563a6330
Upgrade os_str_bytes 2021-12-05 16:28:19 -05:00
bors[bot]
7637d0249b
Merge #3060
3060: fix: grammar mistake in README.md r=pksunkara a=corneliusroemer



Co-authored-by: Cornelius Roemer <cornelius.roemer@gmail.com>
2021-12-05 16:34:05 +00:00
Cornelius Roemer
a9a3b3d22e
fix: grammar mistake in README.md 2021-12-05 14:18:44 +01:00
Ed Page
d085797da6
Merge pull request #60 from epage/reorg
docs: Re-order items in docs
2021-12-04 19:39:36 -06:00
Ed Page
b46abb7236 docs: Re-order items in docs
This contains two types of re-ordering:
- Internal, putting the focus of each file first.
- Public, re-arranging items and grouping impl blocks to try to better
  organize the documentation and find related items.

The main weakness of the docs work is in `Args`.  Its just a mess.  In
particular, we should probably link the simple casesm like `required` to
the advanced impl block.

Fixes #55
2021-12-04 19:18:28 -06:00
Ed Page
592b9c98ce
Merge pull request #59 from epage/disable-colored-help
Add DisableColoredHelp setting to improve flexibility (clap-rs/clap#2956)
2021-12-04 12:20:17 -06:00
Ed Page
4830c75ada docs: Update changelog 2021-12-04 12:07:37 -06:00
Pavan Kumar Sunkara
cc2dddba8e Add DisableColoredHelp setting to improve flexibility (clap-rs/clap#2956)
Until we have a modular help generator that can be configured and/or
authored by the users themselves as part of #2914, we will provide the
flexibility of turning off colored help messages but still wanting
colored error messages.

This flexibility was available before #2845 and @dbrgn immediately
noticed it and requested it back to which I agree. This was also
suggested by Josh in
[here](https://github.com/clap-rs/clap/issues/2806#issuecomment-933877438)
2021-12-04 12:00:46 -06:00
Ed Page
f6635b0baa
Merge pull request #58 from epage/migrate
Help Users Migrate to clap3
2021-12-04 07:38:48 -06:00
Ed Page
951d1fc5c8 doc: Call out release highlights 2021-12-03 20:44:50 -06:00
Ed Page
d2af931c3d doc: Write up migration guide 2021-12-03 20:44:37 -06:00
Ed Page
0cd16c34fc feat: App::debug_assert test helper
This will especially be important for users migrating from clap2 so they
can catch problems earlier in the process.
2021-12-03 14:12:03 -06:00
Ed Page
f99f1fb2c7
Merge pull request #56 from epage/structopt
fix(derive): Smooth out transition for structopt
2021-12-02 21:19:03 -06:00
Ed Page
888c27048d docs: Update changelog 2021-12-02 20:26:21 -06:00
Ed Page
500def4904 fix(derive): Smooth out transition for structopt
Adding in a `StructOpt` derive with `structopt` attributes, with
deprecation notices.  Unofrtunately, not as many deprecation warnings as
I would like.  Apparently, you can't do them for a `use` of a derive?  I
also wanted to inject code that would trigger a deprecation notice for
attributes but that would require enough of a refactor that I didn't
consider it worth it.  We are at least providing a transition window
even if it means we'll have to remvoe it next major release without a
deprecation warning.
2021-12-02 20:18:33 -06:00
Ed Page
64d052f8b8 fix: Remove untested IntoApp derive 2021-12-02 20:01:00 -06:00
Ed Page
aeb295897d
Merge pull request #53 from epage/migrate
docs: Clean up 3.0 changelog
2021-12-02 18:10:32 -06:00
Ed Page
e751d5e372
Merge pull request #54 from epage/ui
test: Fix ui tests
2021-12-02 16:37:28 -06:00
Ed Page
75d417851b docs: Clean up 3.0 changelog 2021-12-02 16:07:43 -06:00
Ed Page
3f9da04744 fix: Revert as much yaml policy to v2 as possible 2021-12-02 16:06:21 -06:00
Ed Page
0294fd0170 revert: Bring back ArgSettings::Global
This is a partial revert of cacc23473.  It appears that the deprecation
of `ArgSettings::Global` was never followed through on.
2021-12-02 16:06:21 -06:00
Ed Page
c93809271c fix: Deprecate, rather than obsolete, some App functions 2021-12-02 16:06:21 -06:00
Ed Page
c8254918d6 fix: Add back arg_enum 2021-12-02 16:06:21 -06:00
Ed Page
e065d1dd79 fix: Fix deprecated function name 2021-12-02 16:06:21 -06:00
Ed Page
d876f306eb fix: Add back in write_version 2021-12-02 16:06:21 -06:00
Ed Page
216837d688 test: Fix ui tests 2021-12-02 15:58:42 -06:00