Skip to content
Snippets Groups Projects
Select Git revision
  • 6ecc8ae2bee0554713c4e2fea5279e8b9013fa73
  • master default protected
2 results

page_templ.go

Blame
  • UserCommand.ts 646 B
    import CommanderCommand      from '../CommanderCommand';
    import UserChangeRoleCommand from './subcommands/UserChangeRoleCommand';
    import UserListCommand from './subcommands/UserListCommand';
    
    class UserCommand extends CommanderCommand {
        protected commandName: string = 'user';
        
        protected defineCommand() {
            this.command
            .description('manage user');
        }
        
        protected defineSubCommands() {
            UserListCommand.registerOnCommand(this.command);
            UserChangeRoleCommand.registerOnCommand(this.command);
        }
        
        protected async commandAction(): Promise<void> { }
    }
    
    
    export default new UserCommand();