Dan Anglin
84091f398d
Summary: - Created a custom CLI schema for Enbas which will act as the Source of Truth for code and document generation. - Created a code generator which uses the schema to generate the executor definitions and code in the internal usage package. Changes: - Created the Enbas CLI schema as the Source of Truth for Enbas. - Created the code generator that generates the executor definitions and code in the usage package. - Regenerated the executor definitions using the code generator. - Moved the custom flag value types to the new internal flag package. - Created a new flag value type for the bool pointer to replace the flag.BoolFunc() used for the sensitive and no-color flags. - Moved the version and build variables to the new internal version package to simplify the version executor. - Created a new usage package and moved the usage functions there. - Changed the type of the account-name flag from string to the internal StringSliceValue type.
28 lines
1.2 KiB
Go
28 lines
1.2 KiB
Go
/*
|
|
This file is generated by the enbas-codegen
|
|
DO NOT EDIT.
|
|
*/
|
|
|
|
package usage
|
|
|
|
var summaries = map[string]string{
|
|
"accept": "Accepts a request (e.g. a follow request)",
|
|
"add": "Adds a resource to another resource",
|
|
"block": "Blocks a resource (e.g. an account)",
|
|
"create": "Creates a specific resource",
|
|
"delete": "Deletes a specific resource",
|
|
"edit": "Edit a specific resource",
|
|
"follow": "Follow a resource (e.g. an account)",
|
|
"init": "Creates a new configuration file in the specified configuration directory",
|
|
"login": "Logs into an account on GoToSocial",
|
|
"mute": "Mutes a specific resource (e.g. an account)",
|
|
"reject": "Rejects a request (e.g. a follow request)",
|
|
"remove": "Removes a resource from another resource",
|
|
"show": "Shows details about a specified resource",
|
|
"switch": "Performs a switch operation (e.g. switching between logged in accounts)",
|
|
"unblock": "Unblocks a resource (e.g. an account)",
|
|
"unfollow": "Unfollows a resource (e.g. an account)",
|
|
"unmute": "Umutes a specific resource (e.g. an account)",
|
|
"version": "Prints the application's version and build information",
|
|
"whoami": "Prints the account that you are currently logged into",
|
|
}
|