37 lines
856 B
JSON
37 lines
856 B
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": {
|
|
"usePrinter": true,
|
|
"useConfig": true,
|
|
"flags": [
|
|
{ "flag": "instance", "default": "" }
|
|
],
|
|
"summary": "Login to an account on GoToSocial"
|
|
},
|
|
"version": {
|
|
"usePrinter": true,
|
|
"useConfig": false,
|
|
"summary": "Prints the application's version and build information",
|
|
"flags": [
|
|
{ "flag": "full", "default": "false" }
|
|
]
|
|
},
|
|
"whoami": {
|
|
"usePrinter": true,
|
|
"useConfig": true,
|
|
"summary": "Prints the account that you are currently logged into",
|
|
"flags": []
|
|
}
|
|
}
|
|
}
|