Skip to content

Commit 8c3e359

Browse files
committed
refactor(cli): texts refactor
1 parent 151f59b commit 8c3e359

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

templates/cli/lib/commands/generic.js.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const whoami = new Command("whoami")
1515
})
1616
.action(actionRunner(async () => {
1717
if (globalConfig.getEndpoint() === '' || globalConfig.getCookie() === '') {
18-
error("No user is signed in");
18+
error("No user is signed in. Run appwrite login. ..... ");
1919
return;
2020
}
2121

templates/cli/lib/parser.js.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ const commandDescriptions = {
168168
"client": `The client command allows you to configure your CLI`,
169169
"login": `The login command allows you to authenticate and manage a user account.`,
170170
"logout": `The logout command allows you to logout of your {{ spec.title|caseUcfirst }} account.`,
171-
"whoami": `The whoami command gives a basic account information about the logged in user.`,
171+
"whoami": `The whoami command gives information about the currently logged in user.`,
172172
"console" : `The console command allows gives you access to the APIs used by the Appwrite console.`,
173173
"assistant": `The assistant command allows you to interact with the Appwrite Assistant AI`,
174174
"messaging": `The messaging command allows you to send messages.`,

0 commit comments

Comments
 (0)