Add a command for creating project
This commit is contained in:
parent
2503b12bdd
commit
9819f763f6
20
commands/project/create.pl
Normal file
20
commands/project/create.pl
Normal file
@ -0,0 +1,20 @@
|
||||
#! /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($ARGV[0]);
|
||||
}
|
||||
else
|
||||
{
|
||||
say "$0 <project_id>";
|
||||
}
|
Reference in New Issue
Block a user