You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
console.error('REPL on Bun is only available in a TTY terminal at this time. Please use npm/npx to run the command in this context instead of bun/bunx.');
17
+
console.error(
18
+
'REPL on Bun is only available in a TTY terminal at this time. Please use npm/npx to run the command in this context instead of bun/bunx.'
19
+
);
15
20
return;
16
21
}
17
22
18
-
constprettyRepl=awaitimport('pretty-repl')
23
+
constprettyRepl=awaitimport('pretty-repl');
19
24
20
25
console.log('Welcome to ZenStack REPL. See help with the ".help" command.');
help: 'Set current user. Run without argument to switch to anonymous. Pass an user object to set current user.',
151
+
help: 'Set current user. Run without argument to switch to anonymous. Pass an user object to set current user. Run ".auth info" to show current user.',
141
152
action(value: string){
142
153
this.clearBufferedCommand();
143
154
try{
144
155
if(!value?.trim()){
145
156
// set anonymous
146
157
setAuth(undefined);
147
158
console.log(`Auth user: anonymous. Use ".auth { id: ... }" to change.`);
0 commit comments