Skip to content

Commit e1d5978

Browse files
committed
fix: add missing command description to the CLI
1 parent 7aa2d90 commit e1d5978

File tree

3 files changed

+29
-27
lines changed

3 files changed

+29
-27
lines changed

composer.lock

Lines changed: 26 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ function getSSLPage($url) {
3737
}
3838

3939
// Leave the platform you want uncommented
40-
$platform = 'client';
41-
// $platform = 'console';
40+
// $platform = 'client';
41+
$platform = 'console';
4242
// $platform = 'server';
4343

4444
$spec = getSSLPage("https://raw.githubusercontent.com/appwrite/appwrite/master/app/config/specs/swagger2-latest-{$platform}.json");

templates/cli/lib/parser.js.twig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ const commandDescriptions = {
164164
"client": `The client command allows you to configure your CLI`,
165165
"login": `The login command allows you to authenticate and manage a user account.`,
166166
"logout": `The logout command allows you to logout of your {{ spec.title|caseUcfirst }} account.`,
167+
"console" : `The console command allows gives you access to the APIs used by the Appwrite console.`,
167168
"main": chalk.redBright(`${logo}${description}`),
168169
{% if sdk.test == "true" %}
169170
{% for service in spec.services %}

0 commit comments

Comments
 (0)