|
@@ -17,7 +17,6 @@ var (
|
|
|
Description: "Perform admin operations on command line",
|
|
Description: "Perform admin operations on command line",
|
|
|
Subcommands: []cli.Command{
|
|
Subcommands: []cli.Command{
|
|
|
subcmdCreateUser,
|
|
subcmdCreateUser,
|
|
|
- subcmdDeleteInactivateUsers,
|
|
|
|
|
subcmdDeleteRepositoryArchives,
|
|
subcmdDeleteRepositoryArchives,
|
|
|
subcmdDeleteMissingRepositories,
|
|
subcmdDeleteMissingRepositories,
|
|
|
subcmdGitGcRepos,
|
|
subcmdGitGcRepos,
|
|
@@ -40,18 +39,6 @@ var (
|
|
|
},
|
|
},
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- subcmdDeleteInactivateUsers = cli.Command{
|
|
|
|
|
- Name: "delete-inactive-users",
|
|
|
|
|
- Usage: "Delete all inactive accounts",
|
|
|
|
|
- Action: adminDashboardOperation(
|
|
|
|
|
- models.DeleteInactivateUsers,
|
|
|
|
|
- "All inactivate accounts have been deleted successfully",
|
|
|
|
|
- ),
|
|
|
|
|
- Flags: []cli.Flag{
|
|
|
|
|
- stringFlag("config, c", "custom/conf/app.ini", "Custom configuration file path"),
|
|
|
|
|
- },
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
subcmdDeleteRepositoryArchives = cli.Command{
|
|
subcmdDeleteRepositoryArchives = cli.Command{
|
|
|
Name: "delete-repository-archives",
|
|
Name: "delete-repository-archives",
|
|
|
Usage: "Delete all repositories archives",
|
|
Usage: "Delete all repositories archives",
|