Can add grades to project
This commit is contained in:
parent
706c10a2bb
commit
2b5d936c8e
2 changed files with 110 additions and 0 deletions
24
commands/project/grades.pl
Normal file
24
commands/project/grades.pl
Normal file
|
@ -0,0 +1,24 @@
|
|||
#! /usr/bin/env perl
|
||||
|
||||
use v5.10.1;
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
use lib "../";
|
||||
|
||||
use ACU::API::Base;
|
||||
use ACU::API::Projects;
|
||||
|
||||
|
||||
if ($#ARGV == 0)
|
||||
{
|
||||
API::Projects::add_grades($ARGV[0]);
|
||||
}
|
||||
elsif ($#ARGV == 1)
|
||||
{
|
||||
API::Projects::add_grades($ARGV[0], $ARGV[1]);
|
||||
}
|
||||
else
|
||||
{
|
||||
say "$0 <project_id> [project_year]";
|
||||
}
|
Reference in a new issue