Commit Graph

26 Commits (eb9063bdb740b5e4cc086cbbcd835fd5179ae6df)

Author SHA1 Message Date
Larpon 8a5ba0dfc8
cli: add missing doc strings (#14158) 2022-04-25 19:07:30 +02:00
Tim Basel 1fdbdf4a6b
cli: make help fn's public (#13275) 2022-01-25 15:58:06 +02:00
zakuro 9c74fb0449
cli: fix bug that caused help to panic (#11157) 2021-08-12 09:25:28 +03:00
div72 8c2f7901aa
cli: have a posix mode to handle -- (#11133) 2021-08-11 12:26:17 +03:00
Uwe Krüger 3c0a368af3
all: automatically move (some) referenced objects to heap (#9873) 2021-04-25 21:40:38 +03:00
zakuro f54c1a5cc2
all: add strings.Builder.write_string and use write_string instead of write (#8892) 2021-02-22 13:18:11 +02:00
Delyan Angelov 728344ff65
ci: fix `v test-cleancode` 2021-01-25 12:55:01 +02:00
Lukas Neubert 8b61891348
fmt: smarter if condition wrapping (#8201) 2021-01-23 10:33:22 +02:00
Delyan Angelov dab66593fc vlib: run vfmt over vlib files, so that `v doc -m vlib/` can run without warnings 2020-10-21 12:54:10 +03:00
Lukas Neubert 76e373a5f4
v help: fix newline (#6510) 2020-09-30 15:57:22 +03:00
Lukas Neubert 2464deec82
cli: improvements to help and error messages (#6375) 2020-09-16 22:01:44 +02:00
Lukas Neubert 93e6c3df6a
cli: various improvements (#6180) 2020-08-20 23:14:53 +02:00
Lukas Neubert 4096432a1d
cli: prevent need for unsafe block (#5937) 2020-07-22 20:53:49 +03:00
Delyan Angelov 3a4f2dfe8b cli: extract improvements to vlib/cli, based on PR 5616 (without cmd/v2) 2020-07-18 14:24:29 +03:00
Tim Basel 7386adfc99
cli: help/version abbrev optional + fix various inconsistencies (#5586) 2020-07-01 10:54:34 +02:00
Tim Basel 76176eddab
cli: calculate indent based on name length 2020-06-29 17:59:55 +02:00
Tim Basel 4a1ce3e1f5
cli: add pretty print for multiline descriptions 2020-06-29 14:47:20 +02:00
Tim Basel d688d356a7
cli: assign parent by default; add disable_flag 2020-05-28 13:32:43 +02:00
yuyi dda875a9c8
all: unify const names to snake_case 2020-05-22 17:36:09 +02:00
Major Taylor 9edbcb823c
cli: Fix off-by-one error in smart-wrap 2020-04-28 00:10:36 +03:00
yuyi 9f4d498ff1
all: update`import ()` and `[]array` 2020-04-26 13:49:31 +02:00
Major Taylor dc8199709f
cli: add smart-wrap for help description 2020-04-20 14:50:15 +02:00
Major Taylor 7bfc3ef767
cli: fix issue with long cmd and flag names 2020-04-16 23:01:04 +02:00
Alexander Medvednikov f087e819d7 cli: minor fixes 2020-04-02 16:04:57 +02:00
sh0f 3c65af8b9a cli: fix warning 2020-01-02 18:09:24 +01:00
Tim Basel 597a6fead2 vlib: cli module 2019-11-21 15:03:12 +03:00