Commit graph

348 commits

Author SHA1 Message Date
b96b2ac4f6 chore: bump libpt 2024-07-09 19:47:23 +02:00
c9f879b97f chore: bump libpt-cli 2024-07-09 19:46:27 +02:00
914f17f359 chore: bump libpt-log 2024-07-09 19:45:21 +02:00
b06a821f29 docs(cli): add crate level documentation
but I'm lazy
2024-07-09 19:43:43 +02:00
087e6dad8c refactor(py)!: remove libpt-py 2024-07-09 19:41:34 +02:00
8226d74fb9 feat(log): apperently, it wasn't possible to set a min log level? 2024-07-09 19:39:33 +02:00
729c4e3a4e fix(log): logfile works again 2024-07-09 19:37:56 +02:00
1c92f95901 docs(log): add an example for using a logfile 2024-07-09 19:37:13 +02:00
673eb691e9 fix(cli): clap count parser only works with u8, so revert the change to i8 back 2024-07-09 19:34:46 +02:00
b382b3e501 refactor(cli): cli example was weird 2024-07-09 19:29:20 +02:00
87dc2871d7 refactor(log)!: rename ansiconst -> ansi
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
edb6342b0c docs(log): add defaults to builder methods 2024-07-09 18:31:30 +02:00
b2bf00db46 refactor(log): apply more clippy findings 2024-07-09 18:25:50 +02:00
73f935d9b2 refactor(log): remove depereciated Logger::build() 2024-07-09 18:23:24 +02:00
9b94c25234 refactor(log): apply clippy findings 2024-07-09 18:22:44 +02:00
511fd69ab6 Merge pull request 'implement a cli module' () from feat/cli into devel
Reviewed-on: 
2024-07-09 18:12:24 +02:00
f50dfe05e4 Merge branch 'devel' into feat/cli 2024-07-09 18:11:33 +02:00
476efb85c8 refactor(cli): apply all clippy findings 2024-07-09 18:09:51 +02:00
d9cdd18376 Merge branch 'feat/cli' of https://git.cscherr.de/PlexSheep/pt into feat/cli 2024-07-09 17:41:56 +02:00
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
9ea146aabf refactor(cli): apply some clippy lints and add constants for VerbosityLevel 2024-07-09 17:36:45 +02:00
921387b13e chore: add more clippy lints and fix some 2024-07-09 17:36:16 +02:00
c81952002f fix(cli): loglevel values were not calculated correctly 2024-06-29 17:35:45 +02:00
c6afa063ef docs(cli): example for a simple cli 2024-06-29 17:05:50 +02:00
74aaeb0ec2 refactor(cli): verbosity level no option anymore, prevent verbosity overflows 2024-06-29 17:05:37 +02:00
6a7974a0a6 Merge branch 'feat/cli' of https://git.cscherr.de/PlexSheep/pt into feat/cli 2024-06-29 00:49:29 +02:00
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
0488b2f497 refactor(cli::repl): introduce custom error type, modularize 2024-06-28 23:53:00 +02:00
471364e711 feat(cli::repl): working and nice repl structure 2024-06-28 23:05:50 +02:00
d413b74d45 feat(cli): add repl example without using library items 2024-06-28 18:10:08 +02:00
a9fe9d21ec chore: reexport shlex and add dialoguer features 2024-06-28 18:09:36 +02:00
3e5174dab6 docs(cli): expand on IsTerminal differences 2024-06-28 14:51:13 +02:00
db2fd9f60e docs: fix redundand link binding 2024-06-28 14:44:04 +02:00
f2d4fd3067 Merge branch 'feat/cli' of https://git.cscherr.de/PlexSheep/pt into feat/cli 2024-06-28 14:41:04 +02:00
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
a79513d1db feat(cli): reexport human-panic and exitcode 2024-06-28 14:36:18 +02:00
c9e5a3f43d chore: change LICENSE to GPL-3.0-or-later 2024-06-28 08:56:37 +02:00
0b3610e7c5 chore: change LICENSE to GPL-3.0-or-later 2024-06-28 08:56:21 +02:00
90cf678dde feat(cli::args): VerbosityLevel
VerbosityLevel lets you easily get a loglevel from repeated -v and -q
flags. Documentation included.

Refs: 
2024-06-28 00:40:52 +02:00
2e26983fb6 chore: bump version of libpt-log to v0.4.3 2024-06-28 00:17:36 +02:00
1e912d9be8 refactor: reexport tracing from libpt-log 2024-06-28 00:17:13 +02:00
PlexSheep
6074ba899d automatic cargo CI changes 2024-06-27 22:08:16 +00:00
f6ea98286d Merge branch 'feat/cli' of https://git.cscherr.de/PlexSheep/pt into feat/cli 2024-06-28 00:06:03 +02:00
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
a92f5f308d chore: add clap derive feature 2024-06-27 22:36:13 +02:00
3fd04a695d feat(cli): add cli crate export to libpt 2024-06-27 22:33:12 +02:00