Commit Graph

  • 0d7c1b747f remove markdown rendering and make help write to stdout Terts Diepraam 2023-06-04 13:54:02 +02:00
  • d98f3caa7a Merge pull request #22 from tertsdiepraam/dependabot/cargo/nu-ansi-term-0.47.0 Terts Diepraam 2023-03-14 17:26:42 +01:00
  • b88aeba92b Update nu-ansi-term requirement from 0.46.0 to 0.47.0 dependabot[bot] 2023-03-14 15:53:20 +00:00
  • 9ca3236835 rustfmt fix Terts Diepraam 2023-03-14 16:50:51 +01:00
  • 946728596b Fix tests for new initial macro Terts Diepraam 2023-03-08 16:06:40 +01:00
  • f08e8aa42f Refactor the initial macro a bit Terts Diepraam 2023-03-08 15:08:51 +01:00
  • bf4bac54b7 Rework initial macro (part of #20) Terts Diepraam 2023-03-08 14:57:27 +01:00
  • b0489406ed Update arguments_in_coreutils.md Terts Diepraam 2023-02-19 15:02:30 +01:00
  • 5b4c66d3ef Update arguments_in_coreutils.md Terts Diepraam 2023-02-19 15:01:33 +01:00
  • dad3efc07d fix up head and tail Terts Diepraam 2023-02-17 00:44:47 +01:00
  • 62dbd60c6d add "behaviour" to spell checker Terts Diepraam 2023-02-17 00:37:21 +01:00
  • 6b8f1a5ac1 add tests for head Terts Diepraam 2023-02-17 00:36:26 +01:00
  • 3a15a93381 Update arguments_in_coreutils.md Terts Diepraam 2023-02-15 19:56:34 +01:00
  • 9d5259cc60 Expand on deprecated syntax in design docs Terts Diepraam 2023-02-15 19:44:33 +01:00
  • 9d40a129ee update tail tests for more compatibility Terts Diepraam 2023-02-15 18:21:27 +01:00
  • 08c0383cb9 move Arg from associated type to type parameter Terts Diepraam 2023-02-15 14:51:16 +01:00
  • 8616b87f58 add test for tail shorthand Terts Diepraam 2023-02-14 12:43:06 +01:00
  • c4021602f8 remove dev-dependencies for ls test Terts Diepraam 2023-02-14 01:17:10 +01:00
  • 2565a99011 refactor value parsing Terts Diepraam 2023-02-14 00:51:27 +01:00
  • d9ca915139 document more of the public API Terts Diepraam 2023-02-13 17:58:25 +01:00
  • b1e7c9cba4 start writing some module documentation Terts Diepraam 2023-02-08 23:23:34 +01:00
  • af70102ec5 support echo style parsing (where invalid arguments become positional arguments) Terts Diepraam 2023-02-08 22:42:20 +01:00
  • 0816cd9213 fix clippy lints Terts Diepraam 2023-02-06 13:48:35 +01:00
  • 2dbf88ffaa Add option for -{N} and +{N} args (closes #2) Terts Diepraam 2023-02-06 13:38:47 +01:00
  • a371fc1ad8 docs: update description of bpaf based on #17 Terts Diepraam 2023-01-25 10:48:37 +01:00
  • c237b06cfc Allow help argument to option and multiple option attributes Terts Diepraam 2023-01-23 21:57:11 +01:00
  • 065eb17b19 remove Options derive in favor of manual implementation Terts Diepraam 2023-01-19 16:57:11 +01:00
  • dd5c3efc34 add exit code and arguments attribute (closes #13) Terts Diepraam 2023-01-10 21:32:17 +01:00
  • d52c2c90d6 hidden arguments (closes #14) Terts Diepraam 2023-01-10 20:33:10 +01:00
  • 5d24e860a1 add ignore patterns to ls test Terts Diepraam 2023-01-04 00:02:54 +01:00
  • 744c729605 add ls tests Terts Diepraam 2023-01-03 18:58:21 +01:00
  • 3d46072398 fix from_value to consider prefixes per variant Terts Diepraam 2023-01-03 18:58:06 +01:00
  • ae647b1c21 update design docs Terts Diepraam 2023-01-01 16:37:09 +01:00
  • 77e0bcda48 add simple error messages (with a lot of room for improvement) Terts Diepraam 2022-12-31 13:55:58 +01:00
  • b5e955222a fix clippy lints in tests Terts Diepraam 2022-12-29 18:24:54 +01:00
  • 8167c9670f add field attribute with default and env var Terts Diepraam 2022-12-29 18:23:26 +01:00
  • ade68184ab clippy and rustfmt fixes Terts Diepraam 2022-12-29 16:26:13 +01:00
  • 127b4de59d add the interfaces of some coreutils for testing Terts Diepraam 2022-12-29 16:06:18 +01:00
  • 4cca82fbbe infer values from unabiguous prefixes (closes #9) Terts Diepraam 2022-12-29 16:05:23 +01:00
  • 7455f3a3de trailing var args via last keyword Terts Diepraam 2022-12-20 12:46:36 +01:00
  • 02bceaa5ec move version_handling to help module Terts Diepraam 2022-12-20 12:22:35 +01:00
  • 87f1151fee add some more words to the spell-checker Terts Diepraam 2022-12-20 12:20:57 +01:00
  • d6a34350fa add design docs on problems with clap and argument types Terts Diepraam 2022-12-20 12:20:33 +01:00
  • 830f391359 add option for text below options Terts Diepraam 2022-12-18 19:14:21 +01:00
  • fc89ea3284 start reading help file file Terts Diepraam 2022-12-18 16:28:44 +01:00
  • 5d4953ebca remove let ... else and fix clippy and rustfmt problems (fixes #7) Terts Diepraam 2022-12-15 23:09:56 +01:00
  • c911d35821 remove set_true and set_false attributes in favor of the map attribute Terts Diepraam 2022-12-15 00:06:53 +01:00
  • 870c1d2f29 better handling of option arguments Terts Diepraam 2022-12-14 23:56:43 +01:00
  • 4a9e86436a some fixes on the markdown Terts Diepraam 2022-12-14 23:54:44 +01:00
  • 9eef7f010d term_md: add support for rules Terts Diepraam 2022-12-13 15:44:02 +01:00
  • 0fd2bc758c term_md: add support for soft and hard breaks Terts Diepraam 2022-12-13 12:28:30 +01:00
  • 9b704b9b82 start on the terminal markdown rendering Terts Diepraam 2022-12-12 18:05:17 +01:00
  • 58bbbfe6f4 add version flags and refactor all flag handling with a Flags struct Terts Diepraam 2022-12-10 20:43:15 +01:00
  • 2e3171a604 fix clippy lints Terts Diepraam 2022-12-10 18:08:48 +01:00
  • f1f4ee9eec add a simple usage string to the help output Terts Diepraam 2022-12-10 17:47:56 +01:00
  • 5eccb3d824 add --help to long arg inference Terts Diepraam 2022-12-10 17:04:14 +01:00
  • ad6d1d677c allow changing the help flags Terts Diepraam 2022-12-10 16:50:59 +01:00
  • 77fe0e9b9d basic help flag Terts Diepraam 2022-12-10 15:54:31 +01:00
  • 6b7c612431 positional arguments! Terts Diepraam 2022-12-09 01:39:11 +01:00
  • 7f47d5e0b0 actually create one match per settings field Terts Diepraam 2022-12-08 15:20:17 +01:00
  • a32f0338e9 add parsing for integers and clone args Terts Diepraam 2022-12-03 18:50:46 +01:00
  • 0981aa9407 change semantics a bit by creating a match for each field in Options Terts Diepraam 2022-12-03 16:32:34 +01:00
  • f735358924 infer long flags and options Terts Diepraam 2022-12-03 16:17:21 +01:00
  • 74af32a4b9 options with optional values Terts Diepraam 2022-12-02 13:49:12 +01:00
  • 886b12db5f design 2 Terts Diepraam 2022-12-02 00:41:35 +01:00
  • 14312447da new design with Arguments enum Terts Diepraam 2022-12-01 18:37:17 +01:00
  • 378f43c492 update design doc to the real implementation Terts Diepraam 2022-11-27 23:22:33 +01:00
  • 07c482538e add options Terts Diepraam 2022-11-27 22:48:05 +01:00
  • d04b5d50b6 add custom values for flags Terts Diepraam 2022-11-27 18:41:14 +01:00
  • 7c4c3edacb clippy fixes Terts Diepraam 2022-11-27 17:59:35 +01:00
  • 447f64b8d4 define parse as wrapper around apply_args Terts Diepraam 2022-11-27 17:58:47 +01:00
  • da74914303 change arguments for flag attribute to strings instead of custom idents Terts Diepraam 2022-11-27 17:42:36 +01:00
  • 8fcfbf08de add custom names for fields Terts Diepraam 2022-11-27 16:33:09 +01:00
  • e935ce4698 very first semi-functional version Terts Diepraam 2022-11-27 14:22:27 +01:00
  • 23ee0a7e8d remove code from cargo init that made the CI fail Terts Diepraam 2022-11-27 00:27:55 +01:00
  • d8fed89476 add design folder with draft blogpost as a design goal Terts Diepraam 2022-11-27 00:24:16 +01:00
  • 1d22baae00 put proc-macro attribute in the right place Terts Diepraam 2022-11-27 00:22:15 +01:00
  • 267b24342f add CI Terts Diepraam 2022-11-27 00:19:11 +01:00
  • e33ae975c8 scaffold project Terts Diepraam 2022-11-27 00:16:52 +01:00
  • 0c5a121618 Initial commit Terts Diepraam 2022-11-27 00:10:46 +01:00