mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-02-18 11:28:48 -06:00
strip ocis- from command name for all standalone services
This commit is contained in:
@@ -34,7 +34,7 @@ func GetCommands(cfg *config.Config) cli.Commands {
|
||||
// Execute is the entry point for the ocis-accounts command.
|
||||
func Execute(cfg *config.Config) error {
|
||||
app := clihelper.DefaultApp(&cli.App{
|
||||
Name: "ocis-accounts",
|
||||
Name: "accounts",
|
||||
Usage: "Provide accounts and groups for oCIS",
|
||||
Commands: GetCommands(cfg),
|
||||
})
|
||||
|
||||
@@ -28,7 +28,7 @@ func GetCommands(cfg *config.Config) cli.Commands {
|
||||
// Execute is the entry point for the ocis-app-registry command.
|
||||
func Execute(cfg *config.Config) error {
|
||||
app := clihelper.DefaultApp(&cli.App{
|
||||
Name: "ocis-app-registry",
|
||||
Name: "app-registry",
|
||||
Usage: "Provide a app registry for oCIS",
|
||||
Commands: GetCommands(cfg),
|
||||
})
|
||||
|
||||
@@ -28,7 +28,7 @@ func GetCommands(cfg *config.Config) cli.Commands {
|
||||
// Execute is the entry point for the ocis-accounts command.
|
||||
func Execute(cfg *config.Config) error {
|
||||
app := clihelper.DefaultApp(&cli.App{
|
||||
Name: "ocis-appprovider",
|
||||
Name: "appprovider",
|
||||
Usage: "Provide apps for oCIS",
|
||||
Commands: GetCommands(cfg),
|
||||
})
|
||||
|
||||
@@ -28,7 +28,7 @@ func GetCommands(cfg *config.Config) cli.Commands {
|
||||
// Execute is the entry point for the ocis-auth-basic command.
|
||||
func Execute(cfg *config.Config) error {
|
||||
app := clihelper.DefaultApp(&cli.App{
|
||||
Name: "ocis-auth-basic",
|
||||
Name: "auth-basic",
|
||||
Usage: "Provide basic authentication for oCIS",
|
||||
Commands: GetCommands(cfg),
|
||||
})
|
||||
|
||||
@@ -28,7 +28,7 @@ func GetCommands(cfg *config.Config) cli.Commands {
|
||||
// Execute is the entry point for the ocis-auth-bearer command.
|
||||
func Execute(cfg *config.Config) error {
|
||||
app := clihelper.DefaultApp(&cli.App{
|
||||
Name: "ocis-auth-bearer",
|
||||
Name: "auth-bearer",
|
||||
Usage: "Provide bearer authentication for oCIS",
|
||||
Commands: GetCommands(cfg),
|
||||
})
|
||||
|
||||
@@ -28,7 +28,7 @@ func GetCommands(cfg *config.Config) cli.Commands {
|
||||
// Execute is the entry point for the ocis-auth-machine command.
|
||||
func Execute(cfg *config.Config) error {
|
||||
app := clihelper.DefaultApp(&cli.App{
|
||||
Name: "ocis-auth-machine",
|
||||
Name: "auth-machine",
|
||||
Usage: "Provide machine authentication for oCIS",
|
||||
Commands: GetCommands(cfg),
|
||||
})
|
||||
|
||||
@@ -28,7 +28,7 @@ func GetCommands(cfg *config.Config) cli.Commands {
|
||||
// Execute is the entry point for the ocis-frontend command.
|
||||
func Execute(cfg *config.Config) error {
|
||||
app := clihelper.DefaultApp(&cli.App{
|
||||
Name: "ocis-frontend",
|
||||
Name: "frontend",
|
||||
Usage: "Provide various ownCloud apis for oCIS",
|
||||
Commands: GetCommands(cfg),
|
||||
})
|
||||
|
||||
@@ -28,7 +28,7 @@ func GetCommands(cfg *config.Config) cli.Commands {
|
||||
// Execute is the entry point for the ocis-gateway command.
|
||||
func Execute(cfg *config.Config) error {
|
||||
app := clihelper.DefaultApp(&cli.App{
|
||||
Name: "ocis-gateway",
|
||||
Name: "gateway",
|
||||
Usage: "Provide a CS3api gateway for oCIS",
|
||||
Commands: GetCommands(cfg),
|
||||
})
|
||||
|
||||
@@ -28,7 +28,7 @@ func GetCommands(cfg *config.Config) cli.Commands {
|
||||
// Execute is the entry point for the ocis-glauth command.
|
||||
func Execute(cfg *config.Config) error {
|
||||
app := clihelper.DefaultApp(&cli.App{
|
||||
Name: "ocis-glauth",
|
||||
Name: "glauth",
|
||||
Usage: "Serve GLAuth API for oCIS",
|
||||
Commands: GetCommands(cfg),
|
||||
})
|
||||
|
||||
@@ -29,7 +29,7 @@ func GetCommands(cfg *config.Config) cli.Commands {
|
||||
// Execute is the entry point for the ocis-graph command.
|
||||
func Execute(cfg *config.Config) error {
|
||||
app := clihelper.DefaultApp(&cli.App{
|
||||
Name: "ocis-graph",
|
||||
Name: "graph",
|
||||
Usage: "Serve Graph API for oCIS",
|
||||
Commands: GetCommands(cfg),
|
||||
})
|
||||
|
||||
@@ -28,7 +28,7 @@ func GetCommands(cfg *config.Config) cli.Commands {
|
||||
// Execute is the entry point for the ocis-group command.
|
||||
func Execute(cfg *config.Config) error {
|
||||
app := clihelper.DefaultApp(&cli.App{
|
||||
Name: "ocis-group",
|
||||
Name: "group",
|
||||
Usage: "Provide groups for oCIS",
|
||||
Commands: GetCommands(cfg),
|
||||
})
|
||||
|
||||
@@ -28,7 +28,7 @@ func GetCommands(cfg *config.Config) cli.Commands {
|
||||
// Execute is the entry point for the ocis-idm command.
|
||||
func Execute(cfg *config.Config) error {
|
||||
app := clihelper.DefaultApp(&cli.App{
|
||||
Name: "ocis-idm",
|
||||
Name: "idm",
|
||||
Usage: "Embedded LDAP service for oCIS",
|
||||
Commands: GetCommands(cfg),
|
||||
})
|
||||
|
||||
@@ -28,7 +28,7 @@ func GetCommands(cfg *config.Config) cli.Commands {
|
||||
// Execute is the entry point for the ocis-idp command.
|
||||
func Execute(cfg *config.Config) error {
|
||||
app := clihelper.DefaultApp(&cli.App{
|
||||
Name: "ocis-idp",
|
||||
Name: "idp",
|
||||
Usage: "Serve IDP API for oCIS",
|
||||
Commands: GetCommands(cfg),
|
||||
})
|
||||
|
||||
@@ -28,7 +28,7 @@ func GetCommands(cfg *config.Config) cli.Commands {
|
||||
// Execute is the entry point for the ocis-ocdav command.
|
||||
func Execute(cfg *config.Config) error {
|
||||
app := clihelper.DefaultApp(&cli.App{
|
||||
Name: "ocis-ocdav",
|
||||
Name: "ocdav",
|
||||
Usage: "Provide a WebDav API for oCIS",
|
||||
Commands: GetCommands(cfg),
|
||||
})
|
||||
|
||||
@@ -28,7 +28,7 @@ func GetCommands(cfg *config.Config) cli.Commands {
|
||||
// Execute is the entry point for the ocis-ocs command.
|
||||
func Execute(cfg *config.Config) error {
|
||||
app := clihelper.DefaultApp(&cli.App{
|
||||
Name: "ocis-ocs",
|
||||
Name: "ocs",
|
||||
Usage: "Serve OCS API for oCIS",
|
||||
Commands: GetCommands(cfg),
|
||||
})
|
||||
|
||||
@@ -28,7 +28,7 @@ func GetCommands(cfg *config.Config) cli.Commands {
|
||||
// Execute is the entry point for the ocis-proxy command.
|
||||
func Execute(cfg *config.Config) error {
|
||||
app := clihelper.DefaultApp(&cli.App{
|
||||
Name: "ocis-proxy",
|
||||
Name: "proxy",
|
||||
Usage: "proxy for oCIS",
|
||||
Commands: GetCommands(cfg),
|
||||
})
|
||||
|
||||
@@ -30,7 +30,7 @@ func GetCommands(cfg *config.Config) cli.Commands {
|
||||
// Execute is the entry point for the ocis-search command.
|
||||
func Execute(cfg *config.Config) error {
|
||||
app := clihelper.DefaultApp(&cli.App{
|
||||
Name: "ocis-search",
|
||||
Name: "search",
|
||||
Usage: "Serve search API for oCIS",
|
||||
Commands: GetCommands(cfg),
|
||||
})
|
||||
|
||||
@@ -28,7 +28,7 @@ func GetCommands(cfg *config.Config) cli.Commands {
|
||||
// Execute is the entry point for the ocis-settings command.
|
||||
func Execute(cfg *config.Config) error {
|
||||
app := clihelper.DefaultApp(&cli.App{
|
||||
Name: "ocis-settings",
|
||||
Name: "settings",
|
||||
Usage: "Provide settings and permissions for oCIS",
|
||||
Commands: GetCommands(cfg),
|
||||
})
|
||||
|
||||
@@ -28,7 +28,7 @@ func GetCommands(cfg *config.Config) cli.Commands {
|
||||
// Execute is the entry point for the ocis-sharing command.
|
||||
func Execute(cfg *config.Config) error {
|
||||
app := clihelper.DefaultApp(&cli.App{
|
||||
Name: "ocis-sharing",
|
||||
Name: "sharing",
|
||||
Usage: "Provide sharing for oCIS",
|
||||
Commands: GetCommands(cfg),
|
||||
})
|
||||
|
||||
@@ -28,7 +28,7 @@ func GetCommands(cfg *config.Config) cli.Commands {
|
||||
// Execute is the entry point for the ocis-storage-metadata command.
|
||||
func Execute(cfg *config.Config) error {
|
||||
app := clihelper.DefaultApp(&cli.App{
|
||||
Name: "ocis-storage-metadata",
|
||||
Name: "storage-metadata",
|
||||
Usage: "Provide apps for oCIS",
|
||||
Commands: GetCommands(cfg),
|
||||
})
|
||||
|
||||
@@ -28,7 +28,7 @@ func GetCommands(cfg *config.Config) cli.Commands {
|
||||
// Execute is the entry point for the ocis-accounts command.
|
||||
func Execute(cfg *config.Config) error {
|
||||
app := clihelper.DefaultApp(&cli.App{
|
||||
Name: "ocis-appprovider",
|
||||
Name: "appprovider",
|
||||
Usage: "Provide apps for oCIS",
|
||||
Commands: GetCommands(cfg),
|
||||
})
|
||||
|
||||
@@ -28,7 +28,7 @@ func GetCommands(cfg *config.Config) cli.Commands {
|
||||
// Execute is the entry point for the storage-shares command.
|
||||
func Execute(cfg *config.Config) error {
|
||||
app := clihelper.DefaultApp(&cli.App{
|
||||
Name: "ocis-storage-shares",
|
||||
Name: "storage-shares",
|
||||
Usage: "Provide a virtual storage for shares in oCIS",
|
||||
Commands: GetCommands(cfg),
|
||||
})
|
||||
|
||||
@@ -28,7 +28,7 @@ func GetCommands(cfg *config.Config) cli.Commands {
|
||||
// Execute is the entry point for the ocis-storage-users command.
|
||||
func Execute(cfg *config.Config) error {
|
||||
app := clihelper.DefaultApp(&cli.App{
|
||||
Name: "ocis-storage-users",
|
||||
Name: "storage-users",
|
||||
Usage: "Provide storage for users and projects in oCIS",
|
||||
Commands: GetCommands(cfg),
|
||||
})
|
||||
|
||||
@@ -28,7 +28,7 @@ func GetCommands(cfg *config.Config) cli.Commands {
|
||||
// Execute is the entry point for the ocis-store command.
|
||||
func Execute(cfg *config.Config) error {
|
||||
app := clihelper.DefaultApp(&cli.App{
|
||||
Name: "ocis-store",
|
||||
Name: "store",
|
||||
Usage: "Service to store values for ocis extensions",
|
||||
Commands: GetCommands(cfg),
|
||||
})
|
||||
|
||||
@@ -28,7 +28,7 @@ func GetCommands(cfg *config.Config) cli.Commands {
|
||||
// Execute is the entry point for the ocis-thumbnails command.
|
||||
func Execute(cfg *config.Config) error {
|
||||
app := clihelper.DefaultApp(&cli.App{
|
||||
Name: "ocis-thumbnails",
|
||||
Name: "thumbnails",
|
||||
Usage: "Example usage",
|
||||
Commands: GetCommands(cfg),
|
||||
})
|
||||
|
||||
@@ -28,7 +28,7 @@ func GetCommands(cfg *config.Config) cli.Commands {
|
||||
// Execute is the entry point for the ocis-user command.
|
||||
func Execute(cfg *config.Config) error {
|
||||
app := clihelper.DefaultApp(&cli.App{
|
||||
Name: "ocis-user",
|
||||
Name: "user",
|
||||
Usage: "Provide users for oCIS",
|
||||
Commands: GetCommands(cfg),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user