idk why this isn't in master yet #94

Merged
cscherrNT merged 79 commits from devel into master 2024-07-22 13:30:20 +02:00

79 Commits

Author SHA1 Message Date
Christoph J. Scherr 6116d639b2 Merge branch 'devel' of https://git.cscherr.de/PlexSheep/pt into devel
cargo devel CI / cargo CI (push) Successful in 2m10s Details
2024-07-09 20:16:05 +02:00
Christoph J. Scherr 5c6e5b242e docs(cli): help template was missing something 2024-07-09 20:16:04 +02:00
PlexSheep ca3cabf6ca automatic cargo CI changes 2024-07-09 17:59:06 +00:00
Christoph J. Scherr 21444f1ffe chore: bump versions
cargo devel CI / cargo CI (push) Successful in 2m4s Details
2024-07-09 19:57:04 +02:00
Christoph J. Scherr 69ce80483d chore: clippy findings
cargo devel CI / cargo CI (push) Has been cancelled Details
2024-07-09 19:54:11 +02:00
Christoph J. Scherr 89c481fa2e fix: make the libpt log version correct 2024-07-09 19:53:50 +02:00
Christoph J. Scherr b1e6558a30 chore: bumps for log and cli
cargo devel CI / cargo CI (push) Failing after 1m14s Details
2024-07-09 19:52:09 +02:00
Christoph J. Scherr d052fb2b34 docs(cli): example was broken
cargo devel CI / cargo CI (push) Has been cancelled Details
2024-07-09 19:51:22 +02:00
Christoph J. Scherr 7db1833cbb feat(log): apperently, show time or not was also no option???
cargo devel CI / cargo CI (push) Has been cancelled Details
2024-07-09 19:50:12 +02:00
Christoph J. Scherr b96b2ac4f6 chore: bump libpt
cargo devel CI / cargo CI (push) Failing after 1m13s Details
2024-07-09 19:47:23 +02:00
Christoph J. Scherr c9f879b97f chore: bump libpt-cli
cargo devel CI / cargo CI (push) Has been cancelled Details
2024-07-09 19:46:27 +02:00
Christoph J. Scherr 914f17f359 chore: bump libpt-log
cargo devel CI / cargo CI (push) Has been cancelled Details
2024-07-09 19:45:21 +02:00
Christoph J. Scherr b06a821f29 docs(cli): add crate level documentation
cargo devel CI / cargo CI (push) Has been cancelled Details
but I'm lazy
2024-07-09 19:43:43 +02:00
Christoph J. Scherr 087e6dad8c refactor(py)!: remove libpt-py #87
cargo devel CI / cargo CI (push) Failing after 1m40s Details
2024-07-09 19:41:34 +02:00
Christoph J. Scherr 8226d74fb9 feat(log): apperently, it wasn't possible to set a min log level?
cargo devel CI / cargo CI (push) Failing after 1m44s Details
2024-07-09 19:39:33 +02:00
Christoph J. Scherr 729c4e3a4e fix(log): logfile works again #90 2024-07-09 19:37:56 +02:00
Christoph J. Scherr 1c92f95901 docs(log): add an example for using a logfile 2024-07-09 19:37:13 +02:00
Christoph J. Scherr 673eb691e9 fix(cli): clap count parser only works with u8, so revert the change to i8 back
cargo devel CI / cargo CI (push) Failing after 1m46s Details
2024-07-09 19:34:46 +02:00
Christoph J. Scherr b382b3e501 refactor(cli): cli example was weird 2024-07-09 19:29:20 +02:00
Christoph J. Scherr 87dc2871d7 refactor(log)!: rename ansiconst -> ansi
cargo devel CI / cargo CI (push) Failing after 1m46s Details
idk why it was called that, seems dumb, better break now than later in
case I actually get users
2024-07-09 18:33:31 +02:00
Christoph J. Scherr edb6342b0c docs(log): add defaults to builder methods #82
cargo devel CI / cargo CI (push) Failing after 1m45s Details
2024-07-09 18:31:30 +02:00
Christoph J. Scherr b2bf00db46 refactor(log): apply more clippy findings
cargo devel CI / cargo CI (push) Failing after 1m44s Details
2024-07-09 18:25:50 +02:00
Christoph J. Scherr 73f935d9b2 refactor(log): remove depereciated Logger::build()
cargo devel CI / cargo CI (push) Failing after 1m37s Details
2024-07-09 18:23:24 +02:00
Christoph J. Scherr 9b94c25234 refactor(log): apply clippy findings
cargo devel CI / cargo CI (push) Has been cancelled Details
2024-07-09 18:22:44 +02:00
Christoph J. Scherr 511fd69ab6 Merge pull request 'implement a cli module' (#85) from feat/cli into devel
cargo devel CI / cargo CI (push) Successful in 2m20s Details
Reviewed-on: #85
2024-07-09 18:12:24 +02:00
Christoph J. Scherr f50dfe05e4 Merge branch 'devel' into feat/cli
cargo devel CI / cargo CI (push) Successful in 2m15s Details
2024-07-09 18:11:33 +02:00
Christoph J. Scherr 476efb85c8 refactor(cli): apply all clippy findings
cargo devel CI / cargo CI (push) Has been cancelled Details
2024-07-09 18:09:51 +02:00
Christoph J. Scherr d9cdd18376 Merge branch 'feat/cli' of https://git.cscherr.de/PlexSheep/pt into feat/cli
cargo devel CI / cargo CI (push) Successful in 2m10s Details
2024-07-09 17:41:56 +02:00
Christoph J. Scherr 4f15f4b639 refactor(cli): change log feature and impl default for VerbosityLevel 2024-07-09 17:41:55 +02:00
PlexSheep c9c835188b automatic cargo CI changes 2024-07-09 15:39:06 +00:00
Christoph J. Scherr 9ea146aabf refactor(cli): apply some clippy lints and add constants for VerbosityLevel
cargo devel CI / cargo CI (push) Successful in 2m28s Details
2024-07-09 17:36:45 +02:00
Christoph J. Scherr 921387b13e chore: add more clippy lints and fix some 2024-07-09 17:36:16 +02:00
Christoph J. Scherr c81952002f fix(cli): loglevel values were not calculated correctly
cargo devel CI / cargo CI (push) Successful in 2m10s Details
2024-06-29 17:35:45 +02:00
Christoph J. Scherr c6afa063ef docs(cli): example for a simple cli
cargo devel CI / cargo CI (push) Successful in 2m8s Details
2024-06-29 17:05:50 +02:00
Christoph J. Scherr 74aaeb0ec2 refactor(cli): verbosity level no option anymore, prevent verbosity overflows 2024-06-29 17:05:37 +02:00
Christoph J. Scherr 6a7974a0a6 Merge branch 'feat/cli' of https://git.cscherr.de/PlexSheep/pt into feat/cli
cargo devel CI / cargo CI (push) Successful in 2m6s Details
2024-06-29 00:49:29 +02:00
Christoph J. Scherr bfebb5327b docs(cli::repl): repl documentation 2024-06-29 00:49:28 +02:00
PlexSheep 216b896067 automatic cargo CI changes 2024-06-28 21:55:12 +00:00
Christoph J. Scherr 0488b2f497 refactor(cli::repl): introduce custom error type, modularize
cargo devel CI / cargo CI (push) Successful in 2m15s Details
2024-06-28 23:53:00 +02:00
Christoph J. Scherr 471364e711 feat(cli::repl): #84 #86 working and nice repl structure
cargo devel CI / cargo CI (push) Successful in 2m10s Details
2024-06-28 23:05:50 +02:00
Christoph J. Scherr d413b74d45 feat(cli): add repl example without using library items
cargo devel CI / cargo CI (push) Failing after 1m43s Details
2024-06-28 18:10:08 +02:00
Christoph J. Scherr a9fe9d21ec chore: reexport shlex and add dialoguer features
cargo devel CI / cargo CI (push) Has been cancelled Details
2024-06-28 18:09:36 +02:00
Christoph J. Scherr 3e5174dab6 docs(cli): expand on IsTerminal differences
cargo devel CI / cargo CI (push) Successful in 2m5s Details
2024-06-28 14:51:13 +02:00
Christoph J. Scherr db2fd9f60e docs: fix redundand link binding
cargo devel CI / cargo CI (push) Successful in 2m4s Details
2024-06-28 14:44:04 +02:00
Christoph J. Scherr f2d4fd3067 Merge branch 'feat/cli' of https://git.cscherr.de/PlexSheep/pt into feat/cli
cargo devel CI / cargo CI (push) Successful in 2m10s Details
2024-06-28 14:41:04 +02:00
Christoph J. Scherr 4278f4b5a7 docs(cli): mention IsTerminal in cli::printing 2024-06-28 14:40:50 +02:00
PlexSheep 880f2a7b89 automatic cargo CI changes 2024-06-28 12:38:39 +00:00
Christoph J. Scherr a79513d1db feat(cli): reexport human-panic and exitcode
cargo devel CI / cargo CI (push) Successful in 2m21s Details
2024-06-28 14:36:18 +02:00
Christoph J. Scherr c9e5a3f43d chore: change LICENSE to GPL-3.0-or-later
cargo devel CI / cargo CI (push) Successful in 2m4s Details
2024-06-28 08:56:37 +02:00
Christoph J. Scherr 0b3610e7c5 chore: change LICENSE to GPL-3.0-or-later
cargo devel CI / cargo CI (push) Successful in 2m16s Details
2024-06-28 08:56:21 +02:00
Christoph J. Scherr 90cf678dde feat(cli::args): VerbosityLevel
cargo devel CI / cargo CI (push) Successful in 2m0s Details
VerbosityLevel lets you easily get a loglevel from repeated -v and -q
flags. Documentation included.

Refs: #84
2024-06-28 00:40:52 +02:00
Christoph J. Scherr 2e26983fb6 chore: bump version of libpt-log to v0.4.3
cargo devel CI / cargo CI (push) Successful in 2m4s Details
2024-06-28 00:17:36 +02:00
Christoph J. Scherr 1e912d9be8 refactor: reexport tracing from libpt-log
cargo devel CI / cargo CI (push) Has been cancelled Details
2024-06-28 00:17:13 +02:00
PlexSheep 6074ba899d automatic cargo CI changes 2024-06-27 22:08:16 +00:00
Christoph J. Scherr f6ea98286d Merge branch 'feat/cli' of https://git.cscherr.de/PlexSheep/pt into feat/cli
cargo devel CI / cargo CI (push) Successful in 2m14s Details
2024-06-28 00:06:03 +02:00
Christoph J. Scherr 798cb19865 feat(cli::args): verbosity flags for log level 2024-06-28 00:05:54 +02:00
PlexSheep 6a179a6bd5 automatic cargo CI changes 2024-06-27 20:38:15 +00:00
Christoph J. Scherr a92f5f308d chore: add clap derive feature
cargo devel CI / cargo CI (push) Successful in 2m6s Details
2024-06-27 22:36:13 +02:00
Christoph J. Scherr 3fd04a695d feat(cli): add cli crate export to libpt
cargo devel CI / cargo CI (push) Has been cancelled Details
2024-06-27 22:33:12 +02:00
Christoph J. Scherr 1c78801101 docs(cli::printing): add module documentation
cargo devel CI / cargo CI (push) Successful in 2m0s Details
2024-06-27 22:31:36 +02:00
Christoph J. Scherr 57709e963c docs(cli::printing): document use of parameters for blockfmt_advanced
cargo devel CI / cargo CI (push) Successful in 1m59s Details
2024-06-27 22:26:18 +02:00
Christoph J. Scherr 0179c53e82 Merge branch 'feat/cli' of https://git.cscherr.de/PlexSheep/pt into feat/cli
cargo devel CI / cargo CI (push) Successful in 1m55s Details
2024-06-27 22:22:49 +02:00
Christoph J. Scherr 08bfc03628 refactor(cli::printing): use Option<Color> for blockfmt_advanced
Users might just need the cell String, not a colored one.
2024-06-27 22:22:46 +02:00
PlexSheep 8070f0b100 automatic cargo CI changes 2024-06-27 20:21:55 +00:00
Christoph J. Scherr 502298d47b feat(cli)!: remove printing::divider, add borderprint borderfmt and borderfmt_advanced
cargo devel CI / cargo CI (push) Successful in 2m5s Details
divider was removed because it was too simple and code duplication makes
therefore more sense for it's usecase.

Refs: #84
2024-06-27 22:19:53 +02:00
PlexSheep 128be8d718 automatic cargo CI changes 2024-06-27 19:32:09 +00:00
Christoph J. Scherr 198630b35a Merge branch 'feat/cli' of https://git.cscherr.de/PlexSheep/pt into feat/cli
cargo devel CI / cargo CI (push) Successful in 2m6s Details
2024-06-27 21:30:04 +02:00
Christoph J. Scherr 57aa7c256a refactor(printing)!: move core::printing to cli #84 2024-06-27 21:30:02 +02:00
PlexSheep 999cf630e8 automatic cargo CI changes 2024-06-27 19:29:32 +00:00
Christoph J. Scherr 630c50a64a feat(cli): add libpt-cli and reexport essential cli deps #84
cargo devel CI / cargo CI (push) Successful in 2m8s Details
2024-06-27 21:27:26 +02:00
Christoph J. Scherr 940b5ffa1a fix(cargo): remove path for the libpt version used in libpt-py
cargo devel CI / cargo CI (push) Successful in 1m51s Details
otherwise, libpt-py always uses the latest libpt version by path that is
in the workspace, which is bad if the libpt version is ahead of the
libpt-py version.
2024-06-27 21:20:07 +02:00
Christoph J. Scherr 101e20da43 chore: bump version to v0.6.0-alpha.0
cargo devel CI / cargo CI (push) Failing after 1m13s Details
2024-06-27 21:10:49 +02:00
Christoph J. Scherr a5a97066bc Merge branch 'master' into devel
cargo devel CI / cargo CI (push) Successful in 1m53s Details
2024-05-13 15:38:02 +02:00
Christoph J. Scherr ab2877546c Merge branch 'master' into devel
cargo devel CI / cargo CI (push) Successful in 1m50s Details
2024-05-13 15:18:06 +02:00
Christoph J. Scherr 8f75925ec3 Merge pull request 'feat/bintols/join-array' (#80) from feat/bintols/join-array into devel
cargo devel CI / cargo CI (push) Successful in 1m45s Details
Reviewed-on: #80
2024-05-13 15:16:18 +02:00
Christoph J. Scherr 22d5b3ac07 refactor(bintols-join): return err if the result cannot be converted to T #80 #79
cargo devel CI / cargo CI (push) Successful in 1m48s Details
2024-05-13 15:13:35 +02:00
Christoph J. Scherr b9f55d1613 Merge branch 'devel' into feat/bintols/join-array
cargo devel CI / cargo CI (push) Successful in 1m47s Details
2024-05-13 15:00:45 +02:00
PlexSheep e9c3402aff automatic cargo CI changes 2024-05-13 12:59:44 +00:00
Christoph J. Scherr a1c5725c55 add tests for the join module #79
cargo devel CI / cargo CI (push) Successful in 1m58s Details
2024-05-13 14:57:49 +02:00