Update libs (#28)

* added prompt context library

* updated libs, except chalk that should not be updated

* updated libs and fixed speed
This commit is contained in:
Arwid Thornström
2025-06-17 10:12:48 +02:00
committed by GitHub
parent 90b9ccc454
commit 5c43d166ba
27 changed files with 2429 additions and 3457 deletions
+4 -4
View File
@@ -31,7 +31,7 @@ module.exports = {
First step is to install aws cli [https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html]
and configuring it. Install it either with brew or do as specified in the link.
`)
`),
);
let config = await getSettings(toolbox);
@@ -103,7 +103,7 @@ module.exports = {
await system.run('touch ~/.pwcli_settings');
print.info(
`Created configuration file ${chalk.yellow(`~/.pwcli_settings`)}`
`Created configuration file ${chalk.yellow(`~/.pwcli_settings`)}`,
);
if (!config) {
config = {
@@ -115,7 +115,7 @@ module.exports = {
config.gh_token = await new Input({
message: `A github accesstoken is required with ${chalk.yellow(
'Full control of private repositories'
'Full control of private repositories',
)}, please insert the key >`,
initial: config.gh_token,
}).run();
@@ -138,7 +138,7 @@ module.exports = {
if (
await new Confirm({
message: `Ok to save the these settings to ${chalk.yellow(
`~/.pwcli_settings`
`~/.pwcli_settings`,
)}?`,
}).run()
) {