43 lines
1.1 KiB
JSON
43 lines
1.1 KiB
JSON
{
|
|
"flags": {
|
|
"full": {
|
|
"type": "bool",
|
|
"description": "Set to true to print the build information in full"
|
|
},
|
|
"instance": {
|
|
"type": "string",
|
|
"description": "The instance that you want to log into"
|
|
}
|
|
},
|
|
|
|
"commands": {
|
|
"login": {
|
|
"flags": [
|
|
{ "flag": "instance", "default": "" }
|
|
],
|
|
"summary": "Log into an account on GoToSocial",
|
|
"useConfig": true,
|
|
"usePrinter": true
|
|
},
|
|
"version": {
|
|
"additionalFields": [
|
|
{ "name": "binaryVersion", "type": "string"},
|
|
{ "name": "buildTime", "type": "string"},
|
|
{ "name": "goVersion", "type": "string"},
|
|
{ "name": "gitCommit", "type": "string"}
|
|
],
|
|
"flags": [
|
|
{ "flag": "full", "default": "false" }
|
|
],
|
|
"summary": "Prints the application's version and build information",
|
|
"useConfig": false,
|
|
"usePrinter": true
|
|
},
|
|
"whoami": {
|
|
"flags": [],
|
|
"summary": "Prints the account that you are currently logged into",
|
|
"useConfig": true,
|
|
"usePrinter": true
|
|
}
|
|
}
|
|
}
|