Commit Graph

83 Commits

Author SHA1 Message Date
denobot
66e8fc9869
chore: release 2024.05.16 (#4755)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-05-16 20:10:44 +09:00
Yoshiya Hinosawa
d3729aa56d
test(cli): reduce flakiness of spinner test (#4738) 2024-05-15 18:50:48 +09:00
Yoshiya Hinosawa
5e7bc33c90
test(cli): reduce flakiness of spinner test (#4719) 2024-05-13 18:15:59 +09:00
Jacob Avery
8c87b7f8e4
test(cli): Spinner tests (#4713)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-05-13 09:11:47 +09:00
denobot
53e08775e3
chore: release 2024.05.07 (#4689)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-05-08 13:32:51 +09:00
ryu
f1c88734e9
fix(cli): spinner support NO_COLOR (#4662) 2024-05-02 19:17:02 +09:00
Yoshiya Hinosawa
3155f0050a
chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
Asher Gomez
aa70d0365d
chore(cli): fix type errors (#4638) 2024-04-24 17:00:50 +09:00
Asher Gomez
e1f9d80fa3
chore: fix types (#4617) 2024-04-22 06:03:29 +00:00
Asher Gomez
46d9fa594c
chore: update browser-compatible files with declaration (#4560) 2024-04-10 12:43:44 +10:00
Asher Gomez
7630dd5418
deprecation(console): copy std/console APIs into std/cli and deprecate std/console (#4547)
deprecation(console): merge `std/console` into `std/cli`
2024-04-08 14:32:55 +10:00
Roj
03426139a2
fix(cli): make the output of promptSecret() consistent with prompt() (#4549) 2024-04-07 17:48:25 +10:00
Tim Reichen
f6e4a07200
refactor(cli): reland cleanup parse_args.ts (#4487) 2024-03-17 06:58:25 +09:00
Yoshiya Hinosawa
469c3c605d
Revert "refactor(cli): cleanup parse_args.ts (#4189)" (#4485)
This reverts commit 8c022c4f64.
2024-03-14 15:35:46 +09:00
Asher Gomez
b3d12393fe
docs(cli): add missing documentation (#4467) 2024-03-11 20:30:39 +11:00
Gabriele Belluardo
6c7b13d5ca
chore(cli): prepare for noUncheckedIndexedAccess (#4443)
* chore(cli): prepare for `noUncheckedIndexedAccess`

* Update cli/parse_args.ts

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-03-06 09:41:28 +11:00
David Sherret
ef6b95f0c7
refactor: make the code work under verbatimModuleSyntax (#4406)
* Start

* Update

* Format

* Revert deno.json change

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-02-27 21:57:25 +00:00
Tim Reichen
8c022c4f64
refactor(cli): cleanup parse_args.ts (#4189)
* initial commit

* fix typo

* rename negated capturing group

* update nested functions

* update

* simplify setNested

* update

* add parseBooleanValue

* update

* remove unknown  value type

* rename fns

* update

* Update parse_args.ts

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>

* Update cli/parse_args.ts

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>

* update

* revert to letters.entries()

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-02-12 10:15:51 +11:00
David Luis
ad4abccb66
docs: replace markdown hyperlink syntax with {@link} tag where necessary. (#4253)
docs: replaces markdown hyperlink syntax with `{@link}` tag when necessary.
2024-02-01 09:19:46 +11:00
Asher Gomez
14a24c61d0
refactor: use Deno.stdin.isTerminal() (#4230) 2024-01-25 07:36:10 +11:00
David Sherret
ce9795ab61
chore: add more explicit types for fast check (#4206) 2024-01-16 05:13:18 +11:00
Simon Holloway
cdab4c6601
refactor(cli): prepare for noUncheckedIndexedAccess (#4121)
* refactor(cli): prepare for noUncheckedIndexedAccess

* replace typeof with key !== undefined

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>

* replace all typeof !== "undefined" with !== undefined

* use assertExists

* tweaks

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-10 10:11:20 +00:00
Tim Reichen
acf291419d
refactor(cli): make Spinner constructor options more readable (#4091)
* initial commit

* update
2024-01-08 10:37:45 +11:00
Tim Reichen
8bf059a1bf
feat(cli): make Spinner.color public (#4092)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-05 16:49:08 +09:00
Tim Reichen
9c8b9b5492
feat(cli): make Spinner.message able to be changed on-the-fly (#4079)
* initial commit

* update

* update

* don't start interval on interval change if not already running

* revert changes

* tweak

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-04 11:41:28 +00:00
Lino Le Van
c46143f0ac
chore: update copyright year (#4046)
* chore: update copyright year

* fix

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-02 08:11:32 +11:00
Asher Gomez
4a1de2c7fa
fix(cli): document milliseconds unit for Spinner.interval (#4017) 2023-12-22 17:03:26 +11:00
Jesse Jackson
fd3116778e
fix(cli/spinner): export private type aliases used in public API (#4012)
fix(cli/spinner): export type aliases used in public API

Ref: https://github.com/denoland/deno_std/pull/3968
2023-12-22 08:50:26 +11:00
darkdarcool
bc03e0de67
feat(cli): command line spinner (#3968)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2023-12-20 15:43:39 +09:00
Tim Reichen
afd8731e17
refactor(cli): format test names (#3987)
* initial commit

* update test names
2023-12-19 01:20:08 +00:00
Yoshiya Hinosawa
5c645cd65f
fix(cli): re-export promptSecret from mod.ts (#3944) 2023-12-13 12:30:00 +09:00
Λlisue (Ali sue・ありすえ)
b1f89510b7
feat(cli): promptSecret() (#3777) 2023-11-30 12:58:42 +11:00
Lino Le Van
16db0d5e6f
BREAKING: move std/flags to new std/cli sub-module (#3530)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-11-16 11:08:51 +09:00