Skip to content
Snippets Groups Projects
Select Git revision
  • 5d194c9d288ce18dcfbadd77d3c26d906f4d7694
  • main default protected
  • jw_sonar
  • v6.0.0 protected
  • interactive-mode-preference
  • bedran_exercise-list
  • add_route_user
  • Jw_sonar_backup
  • exercise_list_filter
  • assignment_filter
  • add_route_assignments
  • move-to-esm-only
  • 6.0.0-dev
  • Pre-alpha
  • 5.0.0
  • Latest
  • 4.2.0
  • 4.1.1
  • 4.1.0
  • 4.0.1
  • 4.0.0
  • 3.5.0
  • 3.4.2
  • 3.4.1
  • 3.3.0
  • 3.2.3
  • 3.2.2
  • 3.2.0
  • 3.1.2
  • 3.1.1
  • 3.1.0
  • 3.0.1
32 results

AssignmentCommand.ts

Blame
  • AssignmentCommand.ts 1011 B
    import CommanderCommand           from '../CommanderCommand';
    import AssignmentCreateCommand    from './subcommands/AssignmentCreateCommand';
    import AssignmentPublishCommand   from './subcommands/AssignmentPublishCommand';
    import AssignmentUnpublishCommand from './subcommands/AssignmentUnpublishCommand';
    import AssignmentCheckCommand     from './subcommands/AssignmentCheckCommand';
    
    
    class AssignmentCommand extends CommanderCommand {
        protected commandName: string = 'assignment';
    
        protected defineCommand() {
            this.command
            .description('manage an assignment');
        }
    
        protected defineSubCommands() {
            AssignmentCreateCommand.registerOnCommand(this.command);
            AssignmentCheckCommand.registerOnCommand(this.command);
            AssignmentPublishCommand.registerOnCommand(this.command);
            AssignmentUnpublishCommand.registerOnCommand(this.command);
        }
    
        protected async commandAction(options: any): Promise<void> { }
    }
    
    
    export default new AssignmentCommand();